1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

FdSink: Restore move constructor/assignment

This commit is contained in:
Shea Levy 2016-07-13 06:27:41 -04:00
parent b33e85229d
commit 06068b353d

View file

@ -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;