mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibRegex: Don't push LibRegex's "Error" into the global namespace
This commit is contained in:
parent
af562c857e
commit
a54be656ae
6 changed files with 18 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue