]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/output.cpp
Cosmetic changes
[libs/datafile.git] / source / output.cpp
index 5ee19115a5b0eedad79ee18ccbdcb9b9adb7b254..46d270ad7263ae5d88e656918bfe02b7528e09e8 100644 (file)
@@ -7,8 +7,7 @@ namespace Msp {
 namespace DataFile {
 
 Output::Output(IO::Base &o):
-       out(&o),
-       compressed(nullptr)
+       out(&o)
 { }
 
 Output::~Output()
@@ -22,12 +21,12 @@ void Output::set_compressed()
        out = compressed;
 }
 
-unsigned Output::put(char c)
+size_t Output::put(char c)
 {
        return out->put(c);
 }
 
-unsigned Output::write(const string &s)
+size_t Output::write(const string &s)
 {
        return out->write(s);
 }