X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftextwriter.h;h=fef437930bb0271ff097d78079a421bef7f5ec4f;hb=HEAD;hp=e265d2fbb50d80c71352183928f8ae136fe2824a;hpb=8e3fad222e174b7c659fd3d994d54314657ed989;p=libs%2Fdatafile.git diff --git a/source/textwriter.h b/source/textwriter.h index e265d2f..641fc2e 100644 --- a/source/textwriter.h +++ b/source/textwriter.h @@ -1,6 +1,7 @@ #ifndef MSP_DATAFILE_TEXTWRITER_H_ #define MSP_DATAFILE_TEXTWRITER_H_ +#include #include "writermode.h" namespace Msp { @@ -9,13 +10,13 @@ namespace DataFile { class TextWriter: public WriterMode { private: - std::string float_format; + Fmt float_format; public: TextWriter(Output &o); - virtual void set_float_precision(unsigned); - virtual void write(const Statement &st); + void set_float_precision(unsigned) override; + void write(const Statement &st) override; private: void write_(const Statement &st, unsigned); };