about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/serialise.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh
index 0139bed1cb9f..f12f02543bc0 100644
--- a/src/libutil/serialise.hh
+++ b/src/libutil/serialise.hh
@@ -91,6 +91,8 @@ struct FdSink : BufferedSink
 
     FdSink() : fd(-1) { }
     FdSink(int fd) : fd(fd) { }
+    FdSink(FdSink&&) = default;
+    FdSink& operator=(FdSink&&) = default;
     ~FdSink();
 
     void write(const unsigned char * data, size_t len) override;