mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 02:30:30 +09:00
LibRegex: Don't push LibRegex's "Error" into the global namespace
This commit is contained in:
parent
af562c857e
commit
a54be656ae
Notes:
sideshowbarker
2024-07-18 01:25:05 +09:00
Author: https://github.com/awesomekling
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