From fdf1d6fdeee52ff17b9847dd0093e84c7d0c2be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 8 Mar 2019 20:36:40 +0100 Subject: [PATCH] Moved CheckStl::erase 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 7ed8080c6..6809f4dc7 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -60,6 +60,7 @@ public: } CheckStl checkStl(tokenizer, settings, errorLogger); + checkStl.erase(); checkStl.if_find(); checkStl.iterators(); checkStl.mismatchingContainers(); @@ -79,7 +80,6 @@ public: checkStl.stlOutOfBounds(); checkStl.negativeIndex(); - checkStl.erase(); checkStl.stlBoundaries(); checkStl.string_c_str(); checkStl.checkAutoPointer();