intel / hyperscan

High-performance regular expression matching library
https://www.hyperscan.io
Other
4.71k stars 705 forks source link

Change 'move' to 'std::move' to avoid unqualified move call warnings on Clang 17+ #400

Open novafacing opened 1 year ago

novafacing commented 1 year ago

Clang 17 has introduced an unconditional warning on unqualified calls to std::move as move (see the patch). Hyperscan has -Werror enabled on default compilations (which is great!) so this causes failure to compile on Clang 17+. This patch fixes all relevant calls to the qualified std::move instead of move.