From 06068b353d7867d0e0299d4285e9b1a46195144c Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 13 Jul 2016 06:27:41 -0400 Subject: FdSink: Restore move constructor/assignment --- src/libutil/serialise.hh | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit 1.4.1