diff options
author | Shea Levy <shea@shealevy.com> | 2016-07-13 06:27:41 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2016-07-13 06:27:41 -0400 |
commit | 06068b353d7867d0e0299d4285e9b1a46195144c (patch) | |
tree | c609a419572feec71752b815f125e41b9d2b0140 /src/libutil | |
parent | b33e85229d3ac78242d8bc597cfdaa282486743f (diff) |
FdSink: Restore move constructor/assignment
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/serialise.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 0139bed1c..f12f02543 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; |