aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/serialise.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/serialise.cc b/src/libutil/serialise.cc
index 6b7939225..33ae1ea38 100644
--- a/src/libutil/serialise.cc
+++ b/src/libutil/serialise.cc
@@ -185,7 +185,7 @@ std::unique_ptr<Source> sinkToSource(std::function<void(Sink &)> fun)
if (pos == cur.size()) {
if (!cur.empty()) coro();
- cur = std::move(coro.get());
+ cur = coro.get();
pos = 0;
}