From ee1787f255f5ee65afb24617e17e2de953ce6374 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 15 Oct 2021 23:58:55 +0200 Subject: api: fix warning --- api/plugin-api.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/api/plugin-api.hpp b/api/plugin-api.hpp index 263ee475..c7d5715d 100644 --- a/api/plugin-api.hpp +++ b/api/plugin-api.hpp @@ -55,15 +55,18 @@ private slots: #define OPENTRACK_DECLARE_PLUGIN_INTERNAL(ctor_class, ctor_ret_class, metadata_class, dialog_class, dialog_ret_class) \ extern "C" \ { \ - OTR_PLUGIN_EXPORT ctor_ret_class* GetConstructor(void) \ + OTR_PLUGIN_EXPORT ctor_ret_class* GetConstructor(void); \ + ctor_ret_class* GetConstructor(void) \ { \ return new ctor_class; \ } \ - OTR_PLUGIN_EXPORT Metadata_* GetMetadata(void) \ + OTR_PLUGIN_EXPORT Metadata_* GetMetadata(void); \ + Metadata_* GetMetadata(void) \ { \ return new metadata_class; \ } \ - OTR_PLUGIN_EXPORT dialog_ret_class* GetDialog(void) \ + OTR_PLUGIN_EXPORT dialog_ret_class* GetDialog(void); \ + dialog_ret_class* GetDialog(void) \ { \ return new dialog_class; \ } \ -- cgit v1.2.3