Line 0
Link Here
|
|
|
1 |
--- src/ext/easylogging++.h.orig 2014-03-28 09:35:09.000000000 +0100 |
2 |
+++ src/ext/easylogging++.h 2015-08-23 00:44:41.276551000 +0200 |
3 |
@@ -3586,7 +3586,7 @@ class LogMessage { |
4 |
LogMessage(const Level& level, const char* file, unsigned long int line, const char* func, // NOLINT |
5 |
base::VRegistry::VLevel verboseLevel, Logger* logger) : |
6 |
m_level(level), m_file(file), m_line(line), m_func(func), |
7 |
- m_verboseLevel(verboseLevel), m_logger(logger), m_message(std::move(logger->stream().str())) { |
8 |
+ m_verboseLevel(verboseLevel), m_logger(logger), m_message(logger->stream().str()) { |
9 |
} |
10 |
inline const Level& level(void) const { return m_level; } |
11 |
inline const char* file(void) const { return m_file; } |
12 |
@@ -3895,7 +3895,7 @@ class LogDispatcher : base::NoCopy { |
13 |
if (ELPP->hasFlag(LoggingFlag::StrictLogFileSizeCheck)) { |
14 |
tc->validateFileRolling(m_logMessage.level(), ELPP->preRollOutHandler()); |
15 |
} |
16 |
- dispatch(std::move(m_logMessage.logger()->logBuilder()->build(&m_logMessage, m_dispatchAction == base::DispatchAction::NormalLog))); |
17 |
+ dispatch(m_logMessage.logger()->logBuilder()->build(&m_logMessage, m_dispatchAction == base::DispatchAction::NormalLog)); |
18 |
if (lockLogger) { |
19 |
m_logMessage.logger()->unlock(); |
20 |
} |