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
de96f632f8
commit
a353a99269
2 changed files with 4 additions and 4 deletions
|
@ -85,10 +85,10 @@ public:
|
|||
|
||||
void logEI(const ErrorInfo & ei) override
|
||||
{
|
||||
std::stringstream oss;
|
||||
std::ostringstream oss;
|
||||
showErrorInfo(oss, ei, loggerSettings.showTrace.get());
|
||||
|
||||
log(ei.level, oss.str());
|
||||
log(ei.level, toView(oss));
|
||||
}
|
||||
|
||||
void startActivity(ActivityId act, Verbosity lvl, ActivityType type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue