Don't use member initialisers
They're a little bit too recent (only supported since GCC 4.7). http://hydra.nixos.org/build/11851475
This commit is contained in:
parent
48495f67ed
commit
9d0709e8c4
1 changed files with 4 additions and 4 deletions
|
@ -72,11 +72,11 @@ struct BufferedSource : Source
|
||||||
struct FdSink : BufferedSink
|
struct FdSink : BufferedSink
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
bool warn = false;
|
bool warn;
|
||||||
size_t written = 0;
|
size_t written;
|
||||||
|
|
||||||
FdSink() : fd(-1) { }
|
FdSink() : fd(-1), warn(false), written(0) { }
|
||||||
FdSink(int fd) : fd(fd) { }
|
FdSink(int fd) : fd(fd), warn(false), written(0) { }
|
||||||
~FdSink();
|
~FdSink();
|
||||||
|
|
||||||
void write(const unsigned char * data, size_t len);
|
void write(const unsigned char * data, size_t len);
|
||||||
|
|
Loading…
Reference in a new issue