From bab093ebbe392927a92ef201fe60344d5c1191dd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Dec 2018 09:53:52 +0100 Subject: compat/shm, proto/wine: remove duplication The X-Plane plugin is next and should build on win32 then. --- proto-ft/ftnoir_protocol_ft.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'proto-ft') diff --git a/proto-ft/ftnoir_protocol_ft.h b/proto-ft/ftnoir_protocol_ft.h index 0056721c..a01ff722 100644 --- a/proto-ft/ftnoir_protocol_ft.h +++ b/proto-ft/ftnoir_protocol_ft.h @@ -19,7 +19,7 @@ #include #include "freetrackclient/fttypes.h" -#include "compat/shm.h" +#include "compat/shm.hpp" #include "options/options.hpp" #include @@ -46,7 +46,7 @@ public: QString game_name() override; private: settings s; - shm_wrapper shm { FREETRACK_HEAP, FREETRACK_MUTEX, sizeof(FTHeap) }; + mem shm { FREETRACK_HEAP, FREETRACK_MUTEX, sizeof(FTHeap) }; FTHeap* pMemData { (FTHeap*) shm.ptr() }; QProcess dummyTrackIR; @@ -66,8 +66,8 @@ class FTControls: public IProtocolDialog Q_OBJECT public: FTControls(); - void register_protocol(IProtocol *) {} - void unregister_protocol() {} + void register_protocol(IProtocol *) override {} + void unregister_protocol() override {} private: Ui::UICFTControls ui; settings s; -- cgit v1.2.3