summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_base
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-19 17:06:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-19 17:06:23 +0200
commit79697936ef3ce7f0bbd1965931cdfb4b2c4c9f5b (patch)
tree91e36f8ffc9add565bcc74cb684f613bbdaa8db7 /ftnoir_protocol_base
parent17f5ad8bc8a10668f4e0968fd5a6c14ac4a034aa (diff)
Fix proto/filter dtor not being called
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl> Reported-by: mm0zct
Diffstat (limited to 'ftnoir_protocol_base')
-rw-r--r--ftnoir_protocol_base/ftnoir_protocol_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_protocol_base/ftnoir_protocol_base.h b/ftnoir_protocol_base/ftnoir_protocol_base.h
index 5db49f01..e4ca1977 100644
--- a/ftnoir_protocol_base/ftnoir_protocol_base.h
+++ b/ftnoir_protocol_base/ftnoir_protocol_base.h
@@ -39,12 +39,14 @@
struct IProtocol
{
- virtual ~IProtocol() {}
+ virtual ~IProtocol() = 0;
virtual bool checkServerInstallationOK() = 0;
virtual void sendHeadposeToGame( const double* headpose ) = 0;
virtual QString getGameName() = 0;
};
+inline IProtocol::~IProtocol() { }
+
struct IProtocolDialog
{
virtual ~IProtocolDialog() {}