aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/tests/primops.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/libexpr/tests/primops.cc
parentb9370fd7a040558cc8c7d5db109fdd3e407ff409 (diff)
Remove FormatOrString and remaining uses of format()
Diffstat (limited to 'src/libexpr/tests/primops.cc')
-rw-r--r--src/libexpr/tests/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/tests/primops.cc b/src/libexpr/tests/primops.cc
index e1d3ac503..ce3b5d11f 100644
--- a/src/libexpr/tests/primops.cc
+++ b/src/libexpr/tests/primops.cc
@@ -15,8 +15,8 @@ namespace nix {
return oss.str();
}
- void log(Verbosity lvl, const FormatOrString & fs) override {
- oss << fs.s << std::endl;
+ void log(Verbosity lvl, std::string_view s) override {
+ oss << s << std::endl;
}
void logEI(const ErrorInfo & ei) override {