cambyzju opened a new pull request, #30783:
URL: https://github.com/apache/doris/pull/30783

   ## Proposed changes
   
   if we do not add `boost::` in the codes, we got following errors while 
compile in Mac.
   
   So here remove unused `using regex`
   
   ```
   /Users/runner/work/doris/doris/be/src/olap/delete_handler.cpp:205:5: error: 
reference to 'smatch' is ambiguous
       smatch what;
       ^
   /Users/runner/work/doris/doris/be/src/olap/delete_handler.cpp:48:14: note: 
candidate found by name lookup is 'smatch'
   using boost::smatch;
                ^
   /usr/local/opt/llvm@16/bin/../include/c++/v1/regex:5397:48: note: candidate 
found by name lookup is 'std::smatch'
   typedef match_results<string::const_iterator>  smatch;
                                                  ^
   /Users/runner/work/doris/doris/be/src/olap/delete_handler.cpp:215:9: error: 
reference to 'regex' is ambiguous
           regex ex(CONDITION_STR_PATTERN);
           ^
   /Users/runner/work/doris/doris/be/src/olap/delete_handler.cpp:45:14: note: 
candidate found by name lookup is 'regex'
   using boost::regex;
                ^
   /usr/local/opt/llvm@16/bin/../include/c++/v1/regex:2613:30: note: candidate 
found by name lookup is 'std::regex'
   typedef basic_regex<char>    regex;
                                ^
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to