diff options
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r-- | src/libutil/serialise.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh index 459a693ee..6be10b552 100644 --- a/src/libutil/serialise.hh +++ b/src/libutil/serialise.hh @@ -33,6 +33,11 @@ struct FdSink : Sink { int fd; + FdSink() + { + fd = 0; + } + FdSink(int fd) { this->fd = fd; @@ -47,6 +52,11 @@ struct FdSource : Source { int fd; + FdSource() + { + fd = 0; + } + FdSource(int fd) { this->fd = fd; |