X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foutput.h;h=13dc829adaf7d3968f5f0ac78b60387e7b5db418;hb=HEAD;hp=bd75651d1ebaef4f0ba3108918126b1d76bda144;hpb=e1b8089be727f651fc2022d6e7ff775047730e85;p=libs%2Fdatafile.git diff --git a/source/output.h b/source/output.h index bd75651..4a4bc81 100644 --- a/source/output.h +++ b/source/output.h @@ -10,8 +10,8 @@ namespace DataFile { class Output: private NonCopyable { private: - IO::Base *out; - IO::Base *compressed; + IO::Base *out = nullptr; + IO::Base *compressed = nullptr; public: Output(IO::Base &); @@ -19,8 +19,8 @@ public: void set_compressed(); - unsigned put(char); - unsigned write(const std::string &); + std::size_t put(char); + std::size_t write(const std::string &); }; } // namespace DataFile