diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-17 18:10:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-17 18:10:02 +0200 |
commit | 389ce0f98e0dda9f96340d9add9175df53e0745e (patch) | |
tree | b193157a573e1d408ee309e5399417989c828ec1 /opentrack/plugin-support.hpp | |
parent | f5c5ce05991f5382e6bafb880020c518f4a60eb1 (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/plugin-support.hpp')
-rw-r--r-- | opentrack/plugin-support.hpp | 2 |
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) : |