]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/binarywriter.h
Fix gcc 4.3 style warnings
[libs/datafile.git] / source / binarywriter.h
index cf8f9fcaa016c35bfedb9172a6c0c76c940b00d5..118f66b0d6cebdf75ea1d985a60e2ca66d9c6d50 100644 (file)
@@ -15,6 +15,9 @@ Distributed under the LGPL
 namespace Msp {
 namespace DataFile {
 
+/**
+Writes data in binary format.
+*/
 class BinaryWriter: public WriterMode
 {
 private:
@@ -27,7 +30,7 @@ private:
        unsigned next_enum_id;
 
 public:
-       BinaryWriter(std::ostream &o);
+       BinaryWriter(IO::Base &o);
        void write(const Statement &st);
 private:
        void write_(const Statement &st);