]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/output.h
Cosmetic changes
[libs/datafile.git] / source / output.h
index bd75651d1ebaef4f0ba3108918126b1d76bda144..4a4bc81f00377b2006aa7b15faf2452d8774e809 100644 (file)
@@ -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