From 95a20c0233f9d5f3b1d80aff16e5180d4faaf8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 8 Mar 2019 20:39:19 +0100 Subject: [PATCH] Moved CheckStl::string_c_str 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 6809f4dc7..12a083839 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -68,6 +68,7 @@ public: checkStl.outOfBounds(); checkStl.outOfBoundsIndexExpression(); checkStl.pushback(); + checkStl.string_c_str(); } /** Simplified checks. The token list is simplified. */ @@ -81,7 +82,6 @@ public: checkStl.stlOutOfBounds(); checkStl.negativeIndex(); checkStl.stlBoundaries(); - checkStl.string_c_str(); checkStl.checkAutoPointer(); checkStl.uselessCalls(); checkStl.checkDereferenceInvalidIterator();