File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -539,12 +539,12 @@ namespace mamba::specs
539
539
// to positive or negative glob.
540
540
// The check for whether the "*" is a glob or a valid version character is poorly
541
541
// defined.
542
- constexpr auto has_complex_glob = [](std::string_view str ) -> bool
542
+ constexpr auto has_complex_glob = [](std::string_view expr ) -> bool
543
543
{
544
544
constexpr auto glob_suffix_len = VersionSpec::glob_suffix_str.size ();
545
- return util::starts_with (str , VersionSpec::glob_pattern_str)
546
- || (str .find (VersionSpec::glob_suffix_str)
547
- < std::max (str .size (), glob_suffix_len) - glob_suffix_len);
545
+ return util::starts_with (expr , VersionSpec::glob_pattern_str)
546
+ || (expr .find (VersionSpec::glob_suffix_str)
547
+ < std::max (expr .size (), glob_suffix_len) - glob_suffix_len);
548
548
};
549
549
550
550
if (util::starts_with (str, VersionSpec::equal_str))
You can’t perform that action at this time.
0 commit comments