aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-02 15:44:19 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-02 15:57:54 +0100
commit29abc8e7647cd9ec6ef5a1df3fcb1dcf4a4495a2 (patch)
tree0461f565859916470a054f9db68df280090d4dc1 /src/libstore/daemon.cc
parentb9370fd7a040558cc8c7d5db109fdd3e407ff409 (diff)
Remove FormatOrString and remaining uses of format()
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index 5e6fd011f..7f8b0f905 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -67,12 +67,12 @@ struct TunnelLogger : public Logger
state->pendingMsgs.push_back(s);
}
- void log(Verbosity lvl, const FormatOrString & fs) override
+ void log(Verbosity lvl, std::string_view s) override
{
if (lvl > verbosity) return;
StringSink buf;
- buf << STDERR_NEXT << (fs.s + "\n");
+ buf << STDERR_NEXT << (s + "\n");
enqueueMsg(buf.s);
}