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); }