LibRegex: Don't push LibRegex's "Error" into the global namespace

This commit is contained in:
Andreas Kling 2021-11-06 10:33:46 +01:00
commit a54be656ae
Notes: sideshowbarker 2024-07-18 01:25:05 +09:00
6 changed files with 18 additions and 20 deletions

View file

@ -32,7 +32,7 @@ int main(int argc, char** argv)
options |= PosixFlags::Insensitive;
Regex<PosixExtended> re(pattern, options);
if (re.parser_result.error != Error::NoError) {
if (re.parser_result.error != regex::Error::NoError) {
return 1;
}