From 4aee189703a9305206094858165c67043c2e1953 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 23 Jan 2015 15:30:37 +0100 Subject: Logger compiles now --- src/core/common/Logger.hpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/core/common/Logger.hpp') diff --git a/src/core/common/Logger.hpp b/src/core/common/Logger.hpp index 092bd3a..85b1bb1 100644 --- a/src/core/common/Logger.hpp +++ b/src/core/common/Logger.hpp @@ -594,8 +594,8 @@ public: LoggerFork(LoggerFork &&l) : calls(std::move(l.calls)), messages(std::move(l.messages)), - files(std::move(l.files)), locations(std::move(l.locations)), + callbacks(std::move(l.callbacks)), parent(std::move(l.parent)){}; /** @@ -717,11 +717,6 @@ constexpr Severity DEFAULT_MIN_SEVERITY = Severity::DEBUG; */ class ConcreteLogger : public Logger { private: - /** - * Current source context callback. - */ - SourceContextCallback sourceContextCallback; - /** * Vector used to store the counts of each message type. */ @@ -740,7 +735,7 @@ private: /** * Current source context callback. */ - SourceContextCallback callback; + SourceContextCallback sourceContextCallback; protected: /** @@ -765,7 +760,7 @@ public: * @param minSeverity is the severity below which message should be * discarded. */ - ConcreteLogger(Severity minSeverity = Severity::DEFAULT_MIN_SEVERITY); + ConcreteLogger(Severity minSeverity = DEFAULT_MIN_SEVERITY); /** * Returns the current cursor location. -- cgit v1.2.3