Logging: Remove a std::move due to NRVO
This commit is contained in:
parent
b2a73a878d
commit
dd1955f9d1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue