From 389ce0f98e0dda9f96340d9add9175df53e0745e Mon Sep 17 00:00:00 2001
From: Stanislaw Halik <sthalik@misaki.pl>
Date: Tue, 17 May 2016 18:10:02 +0200
Subject: api/plugins: add final to dylib struct

We don't have a virtual dtor and we don't want a vtable.
---
 opentrack/plugin-support.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) :
-- 
cgit v1.2.3