From b8f28d3a492edb0a56c34eca9ca5629204de35ea Mon Sep 17 00:00:00 2001 From: Jiri Hoogland Date: Tue, 2 Feb 2016 19:05:29 -0500 Subject: [PATCH] Fix missing include files --- src/crashhandler_windows.cpp | 1 + src/g3log/filesink.hpp | 2 +- src/g3log/g3log.hpp | 1 + src/g3log/loglevels.hpp | 2 +- src/g3log/std2_make_unique.hpp | 1 + src/logmessage.cpp | 2 ++ 6 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/crashhandler_windows.cpp b/src/crashhandler_windows.cpp index acaebc6..cc57bfa 100644 --- a/src/crashhandler_windows.cpp +++ b/src/crashhandler_windows.cpp @@ -11,6 +11,7 @@ #endif #include +#include #include #include #include diff --git a/src/g3log/filesink.hpp b/src/g3log/filesink.hpp index 9d03535..397aa04 100644 --- a/src/g3log/filesink.hpp +++ b/src/g3log/filesink.hpp @@ -19,7 +19,7 @@ namespace g3 { virtual ~FileSink(); void fileWrite(LogMessageMover message); - std::string changeLogFile(const std::string &directory, const std::string &logger_id="g3log"); + std::string changeLogFile(const std::string &directory, const std::string &logger_id); std::string fileName(); diff --git a/src/g3log/g3log.hpp b/src/g3log/g3log.hpp index 37aa75e..52c0d8a 100644 --- a/src/g3log/g3log.hpp +++ b/src/g3log/g3log.hpp @@ -26,6 +26,7 @@ #include "g3log/logmessage.hpp" #include +#include #include diff --git a/src/g3log/loglevels.hpp b/src/g3log/loglevels.hpp index 6a74311..55ca88f 100644 --- a/src/g3log/loglevels.hpp +++ b/src/g3log/loglevels.hpp @@ -23,7 +23,7 @@ #endif #include - +#include // Levels for logging, made so that it would be easy to change, remove, add levels -- KjellKod struct LEVELS { diff --git a/src/g3log/std2_make_unique.hpp b/src/g3log/std2_make_unique.hpp index 325ed63..1b26181 100644 --- a/src/g3log/std2_make_unique.hpp +++ b/src/g3log/std2_make_unique.hpp @@ -20,6 +20,7 @@ #pragma once #include +#include #include namespace std2 { diff --git a/src/logmessage.cpp b/src/logmessage.cpp index 7d112b4..2202170 100644 --- a/src/logmessage.cpp +++ b/src/logmessage.cpp @@ -9,6 +9,8 @@ #include "g3log/logmessage.hpp" #include "g3log/crashhandler.hpp" #include "g3log/time.hpp" +#include "g3log/std2_make_unique.hpp" +#include #include namespace {