Logging: Remove a std::move due to NRVO

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 10:01:34 +01:00 committed by Paul Dettorer Hervot
parent b2a73a878d
commit dd1955f9d1

View file

@ -109,7 +109,7 @@ Entry CreateEntry(Class log_class, Level log_level,
vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args); vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args);
entry.message = std::string(formatting_buffer.data()); entry.message = std::string(formatting_buffer.data());
return std::move(entry); return entry;
} }
static Filter* filter = nullptr; static Filter* filter = nullptr;