aboutsummaryrefslogtreecommitdiff
path: root/security/obfsclient/files/patch-ext-easylogging++.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/obfsclient/files/patch-ext-easylogging++.h')
-rw-r--r--security/obfsclient/files/patch-ext-easylogging++.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/obfsclient/files/patch-ext-easylogging++.h b/security/obfsclient/files/patch-ext-easylogging++.h
new file mode 100644
index 000000000000..a7414ccaa527
--- /dev/null
+++ b/security/obfsclient/files/patch-ext-easylogging++.h
@@ -0,0 +1,20 @@
+--- src/ext/easylogging++.h.orig 2014-03-28 09:35:09.000000000 +0100
++++ src/ext/easylogging++.h 2015-08-23 00:44:41.276551000 +0200
+@@ -3586,7 +3586,7 @@ class LogMessage {
+ LogMessage(const Level& level, const char* file, unsigned long int line, const char* func, // NOLINT
+ base::VRegistry::VLevel verboseLevel, Logger* logger) :
+ m_level(level), m_file(file), m_line(line), m_func(func),
+- m_verboseLevel(verboseLevel), m_logger(logger), m_message(std::move(logger->stream().str())) {
++ m_verboseLevel(verboseLevel), m_logger(logger), m_message(logger->stream().str()) {
+ }
+ inline const Level& level(void) const { return m_level; }
+ inline const char* file(void) const { return m_file; }
+@@ -3895,7 +3895,7 @@ class LogDispatcher : base::NoCopy {
+ if (ELPP->hasFlag(LoggingFlag::StrictLogFileSizeCheck)) {
+ tc->validateFileRolling(m_logMessage.level(), ELPP->preRollOutHandler());
+ }
+- dispatch(std::move(m_logMessage.logger()->logBuilder()->build(&m_logMessage, m_dispatchAction == base::DispatchAction::NormalLog)));
++ dispatch(m_logMessage.logger()->logBuilder()->build(&m_logMessage, m_dispatchAction == base::DispatchAction::NormalLog));
+ if (lockLogger) {
+ m_logMessage.logger()->unlock();
+ }