summaryrefslogtreecommitdiffhomepage
path: root/opentrack/dtors.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:33:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-13 22:33:34 +0200
commit973e8dc567463261330f685abaf0f5fd08d4f7d7 (patch)
tree0c18cb3b30a5502368c85920bd82ebb2d4400a91 /opentrack/dtors.cpp
parent03525acc8ac5805713d393c35b2d2422221c8c0f (diff)
api: implement virtual dtors in a compilation unit
Diffstat (limited to 'opentrack/dtors.cpp')
-rw-r--r--opentrack/dtors.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/opentrack/dtors.cpp b/opentrack/dtors.cpp
new file mode 100644
index 00000000..578d067a
--- /dev/null
+++ b/opentrack/dtors.cpp
@@ -0,0 +1,12 @@
+#include "plugin-api.hpp"
+#include "main-settings.hpp"
+
+// these exist only so that vtable is emitted in a single compilation unit, not all of them.
+
+Metadata::~Metadata() {}
+IFilter::~IFilter() {}
+IFilterDialog::~IFilterDialog() {}
+IProtocol::~IProtocol() {}
+IProtocolDialog::~IProtocolDialog() {}
+ITracker::~ITracker() {}
+ITrackerDialog::~ITrackerDialog() {}