diff --git a/lib/checkstl.h b/lib/checkstl.h index a8383e59e..b3a8c267f 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -68,6 +68,7 @@ public: checkStl.outOfBounds(); checkStl.outOfBoundsIndexExpression(); checkStl.pushback(); + checkStl.redundantCondition(); checkStl.string_c_str(); checkStl.uselessCalls(); } @@ -87,7 +88,6 @@ public: // Style check checkStl.size(); - checkStl.redundantCondition(); checkStl.useStlAlgorithm(); }