From f36ca56e7d9a91b2031ad30666f59679b3a153c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 9 Mar 2019 07:53:49 +0100 Subject: [PATCH] Moved CheckStl::redundantCondition to normal checking --- lib/checkstl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }