summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-12-26 15:41:42 (GMT)
committerSwift Review <review@swift.im>2015-02-03 11:07:33 (GMT)
commitbda5e6672ae7f458316665ecf9564a5bf9f51238 (patch)
tree443d2105fe93b56bc07c2d4d17172385aa76625a /Swiften/EventLoop/DummyEventLoop.h
parentd7842c20dd3da47ca15fc102191881465fd23a91 (diff)
downloadswift-bda5e6672ae7f458316665ecf9564a5bf9f51238.zip
swift-bda5e6672ae7f458316665ecf9564a5bf9f51238.tar.bz2
Stlye fix and declaring EventLoop implementations' dtors as virtual.
Test-Information: Unit tests run successfully. Change-Id: I5df196c8bc642eeff4997558c3c56c6fa03bef16
Diffstat (limited to 'Swiften/EventLoop/DummyEventLoop.h')
-rw-r--r--Swiften/EventLoop/DummyEventLoop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/EventLoop/DummyEventLoop.h b/Swiften/EventLoop/DummyEventLoop.h
index 088dac8..6ee1b77 100644
--- a/Swiften/EventLoop/DummyEventLoop.h
+++ b/Swiften/EventLoop/DummyEventLoop.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -15,7 +15,7 @@ namespace Swift {
class SWIFTEN_API DummyEventLoop : public EventLoop {
public:
DummyEventLoop();
- ~DummyEventLoop();
+ virtual ~DummyEventLoop();
void processEvents() {
while (!events_.empty()) {