We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e009e8 commit de614f9Copy full SHA for de614f9
src/Utils/Logger.hpp
@@ -90,7 +90,7 @@ class Logger {
90
std::stringstream strm;
91
strm << log_lvl << ": ";
92
(strm << ... << std::forward<ARGS>(args)) << '\n';
93
- std::string str = strm.str();
+ std::string str = std::move(strm).str();
94
ssize_t rc = write(fd, std::data(str), std::size(str));
95
(void)rc;
96
}
0 commit comments