From 8270040aabea440971037118077286b0bb996653 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 6 Feb 2017 21:46:38 +0100 Subject: [PATCH] [StartupMessages] Don't initialize variable in the header --- src/Components/Modules/StartupMessages.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/StartupMessages.hpp b/src/Components/Modules/StartupMessages.hpp index 61eeac13..1d1d3e52 100644 --- a/src/Components/Modules/StartupMessages.hpp +++ b/src/Components/Modules/StartupMessages.hpp @@ -14,7 +14,7 @@ namespace Components static void AddMessage(std::string message); private: - static int TotalMessages = -1; + static int TotalMessages; static std::list MessageList; }; }