summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-17 18:10:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-17 18:10:02 +0200
commit389ce0f98e0dda9f96340d9add9175df53e0745e (patch)
treeb193157a573e1d408ee309e5399417989c828ec1 /opentrack
parentf5c5ce05991f5382e6bafb880020c518f4a60eb1 (diff)
api/plugins: add final to dylib struct
We don't have a virtual dtor and we don't want a vtable.
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/plugin-support.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/plugin-support.hpp b/opentrack/plugin-support.hpp
index b5dd03fe..573a8dd5 100644
--- a/opentrack/plugin-support.hpp
+++ b/opentrack/plugin-support.hpp
@@ -48,7 +48,7 @@
extern "C" typedef void* (*OPENTRACK_CTOR_FUNPTR)(void);
extern "C" typedef Metadata* (*OPENTRACK_METADATA_FUNPTR)(void);
-struct dylib {
+struct dylib final {
enum Type { Filter, Tracker, Protocol };
dylib(const QString& filename, Type t) :