X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Fbuffered.h;h=a5f6348591304712335d6654a183eed518ee9e62;hp=eeae3e4008bb3bc46629c6927323e3570bfa2747;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=8223c2aabe26469b6c580a223555496c5c5c5df5 diff --git a/source/io/buffered.h b/source/io/buffered.h index eeae3e4..a5f6348 100644 --- a/source/io/buffered.h +++ b/source/io/buffered.h @@ -11,11 +11,11 @@ class Buffered: public Base, public sigc::trackable { private: Base &below; - std::size_t buf_size; - char *buf; - char *begin; - char *end; - Mode cur_op; + std::size_t buf_size = 0; + char *buf = nullptr; + char *begin = nullptr; + char *end = nullptr; + Mode cur_op = M_NONE; public: Buffered(Base &, unsigned = 8192);