bugfix: drop std::move to allow copy elisison

This commit is contained in:
Roland Conybeare 2023-10-22 20:39:54 -04:00
commit 86fb63c679

View file

@ -347,7 +347,7 @@ namespace xo {
ss << code_location(this->file_, this->line_,
log_config::code_location_color);
std::string ss_str = std::move(ss.str()); /*c++20*/
std::string ss_str = ss.str(); /*hoping for copy elision here*/
sbuf2->sputn(ss_str.c_str(), ss_str.size());
this->location_flag_ = false;