mirror of
https://github.com/NixOS/nix
synced 2025-06-30 19:57:59 +02:00
cont. cleanup: remove superfluous std::string copies
This commit is contained in:
parent
4c0c8e5428
commit
caf3b55891
6 changed files with 21 additions and 17 deletions
|
@ -90,11 +90,11 @@ struct TunnelLogger : public Logger
|
|||
{
|
||||
if (ei.level > verbosity) return;
|
||||
|
||||
std::stringstream oss;
|
||||
std::ostringstream oss;
|
||||
showErrorInfo(oss, ei, false);
|
||||
|
||||
StringSink buf;
|
||||
buf << STDERR_NEXT << oss.str();
|
||||
buf << STDERR_NEXT << oss.view();
|
||||
enqueueMsg(buf.s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue