diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index d186ba8f8..10ce18924 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -109,7 +109,7 @@ Entry CreateEntry(Class log_class, Level log_level, vsnprintf(formatting_buffer.data(), formatting_buffer.size(), format, args); entry.message = std::string(formatting_buffer.data()); - return std::move(entry); + return entry; } static Filter* filter = nullptr;