about summary refs log tree commit diff
path: root/src/libutil/serialise.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-07-13T10·27-0400
committerShea Levy <shea@shealevy.com>2016-07-13T10·27-0400
commit06068b353d7867d0e0299d4285e9b1a46195144c (patch)
treec609a419572feec71752b815f125e41b9d2b0140 /src/libutil/serialise.hh
parentb33e85229d3ac78242d8bc597cfdaa282486743f (diff)
FdSink: Restore move constructor/assignment
Diffstat (limited to 'src/libutil/serialise.hh')
-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;