From 22b1fd3c0e2e5f60d72c60e8acf77a789c8278ac Mon Sep 17 00:00:00 2001 From: NaN-git Date: Thu, 13 Mar 2025 21:26:55 +0000 Subject: [PATCH] mark member function to be called on rvalue --- src/nix-eval-jobs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index 9b99920..7252061 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -80,7 +80,7 @@ struct OutputStreamLock { LockedOutputStream(LockedOutputStream &&other) : lock(std::move(other.lock)), stream(other.stream) {} - template LockedOutputStream operator<<(const T &s) { + template LockedOutputStream operator<<(const T &s) && { stream << s; return std::move(*this); }