summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack-logic/tracklogger.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/opentrack-logic/tracklogger.hpp b/opentrack-logic/tracklogger.hpp
index b4fcefc3..fd8620a1 100644
--- a/opentrack-logic/tracklogger.hpp
+++ b/opentrack-logic/tracklogger.hpp
@@ -14,10 +14,11 @@ public:
{
}
+ virtual ~TrackLogger();
+
virtual void write(const char *)
{
}
- virtual ~TrackLogger();
virtual void write(const double *, int n)
{
@@ -40,15 +41,14 @@ class OPENTRACK_LOGIC_EXPORT TrackLoggerCSV : public TrackLogger
bool first_col;
inline void handle_first_col_sep();
public:
- TrackLoggerCSV(const QString &filename) : TrackLogger(),
- first_col(true)
+ TrackLoggerCSV(const QString &filename) : first_col(true)
{
out.open(filename.toStdString());
}
bool is_open() const { return out.is_open(); }
- virtual void write(const char *s);
- virtual void write(const double *p, int n);
- virtual void next_line();
+ void write(const char *s) override;
+ void write(const double *p, int n) override;
+ void next_line() override;
};