diff --git a/lgtm/cpp-queries/c-style-math-functions.qhelp b/lgtm/cpp-queries/c-style-math-functions.qhelp index 9cf1485852418..ed31aba5fe489 100644 --- a/lgtm/cpp-queries/c-style-math-functions.qhelp +++ b/lgtm/cpp-queries/c-style-math-functions.qhelp @@ -19,22 +19,22 @@ definitional differences of these functions, we prefer to avoid use of the funct

Most current c++ standard libraries will allow invoking math functions in the global namespace

- + #include float my_pow( float base, float exp ) { return pow( base, exp ); } - +

Prefer invoking the version in the std namespace.

- + #include float my_pow( float base, float exp ) { return std::pow( base, exp ); } - +