mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
FdSink: Restore move constructor/assignment
This commit is contained in:
parent
b33e85229d
commit
06068b353d
@ -91,6 +91,8 @@ struct FdSink : BufferedSink
|
|||||||
|
|
||||||
FdSink() : fd(-1) { }
|
FdSink() : fd(-1) { }
|
||||||
FdSink(int fd) : fd(fd) { }
|
FdSink(int fd) : fd(fd) { }
|
||||||
|
FdSink(FdSink&&) = default;
|
||||||
|
FdSink& operator=(FdSink&&) = default;
|
||||||
~FdSink();
|
~FdSink();
|
||||||
|
|
||||||
void write(const unsigned char * data, size_t len) override;
|
void write(const unsigned char * data, size_t len) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user