diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-30 20:15:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-30 20:15:44 +0200 |
commit | d707afe2587e1f2727dfd2d181b745c598d9efaa (patch) | |
tree | f2c124abbedde1e83b46aa2a1b9f60c312aa3545 | |
parent | f1123f050a8f02c9187270a50f2ac0550596e73f (diff) |
logic/track-logger: add virtual dtor to parent class
It's defined out-of-line so that vtable is emitted only once.
-rw-r--r-- | opentrack-logic/tracklogger.cpp | 2 | ||||
-rw-r--r-- | opentrack-logic/tracklogger.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/opentrack-logic/tracklogger.cpp b/opentrack-logic/tracklogger.cpp index f007c2bc..c644df16 100644 --- a/opentrack-logic/tracklogger.cpp +++ b/opentrack-logic/tracklogger.cpp @@ -1,6 +1,8 @@ #include "tracklogger.hpp" #include "tracker.h" +TrackLogger::~TrackLogger() {} + void TrackLoggerCSV::handle_first_col_sep() { if (!first_col) diff --git a/opentrack-logic/tracklogger.hpp b/opentrack-logic/tracklogger.hpp index 65128d48..b4fcefc3 100644 --- a/opentrack-logic/tracklogger.hpp +++ b/opentrack-logic/tracklogger.hpp @@ -17,6 +17,7 @@ public: virtual void write(const char *) { } + virtual ~TrackLogger(); virtual void write(const double *, int n) { |