From 13bfe873f6e3a7eb31728e2463caba75b84e4ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Fri, 4 Nov 2016 14:40:59 +0100 Subject: [PATCH] resolve mismatching tag reported by clang4.0-dev was: In file included from lib/checkunusedfunctions.cpp:21: lib/checkunusedfunctions.h:114:15: warning: struct 'FunctionDecl' was previously declared as a class [-Wmismatched-tags] std::list _functionDecl; ^ lib/checkunusedfunctions.h:108:23: note: previous use is here class CPPCHECKLIB FunctionDecl { ^ lib/checkunusedfunctions.h:114:15: note: did you mean class here? std::list _functionDecl; ^~~~~~ class 1 warning generated. --- lib/checkunusedfunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkunusedfunctions.h b/lib/checkunusedfunctions.h index e1fed6f2f..366e96f09 100644 --- a/lib/checkunusedfunctions.h +++ b/lib/checkunusedfunctions.h @@ -111,7 +111,7 @@ private: std::string functionName; unsigned int lineNumber; }; - std::list _functionDecl; + std::list _functionDecl; std::set _functionCalls; }; /// @}