bugfix: drop std::move to allow copy elisison
This commit is contained in:
parent
3831e387a9
commit
86fb63c679
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue