Skip to content

Commit

Permalink
use correct xml escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Apr 12, 2020
1 parent 6f4bbd5 commit 5619799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgtm/cpp-queries/c-style-math-functions.qhelp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ definitional differences of these functions, we prefer to avoid use of the funct

<p>Most current c++ standard libraries will allow invoking math functions in the global namespace</p>
<sample language="cpp">
#include \<cmath\>
#include &lt;cmath&gt;

float my_pow( float base, float exp ) {
return pow( base, exp );
Expand All @@ -29,7 +29,7 @@ float my_pow( float base, float exp ) {

<p>Prefer invoking the version in the std namespace.</p>
<sample language="cpp">
#include \<cmath\>
#include &lt;cmath&gt;

float my_pow( float base, float exp ) {
return std::pow( base, exp );
Expand Down

0 comments on commit 5619799

Please sign in to comment.