diff options
Diffstat (limited to 'Swiften/EventLoop/DummyEventLoop.h')
-rw-r--r-- | Swiften/EventLoop/DummyEventLoop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/EventLoop/DummyEventLoop.h b/Swiften/EventLoop/DummyEventLoop.h index f814ed9..4c01c16 100644 --- a/Swiften/EventLoop/DummyEventLoop.h +++ b/Swiften/EventLoop/DummyEventLoop.h @@ -24,7 +24,7 @@ namespace Swift { } bool hasEvents() { - return events_.size() > 0; + return !events_.empty(); } virtual void post(const Event& event) { |