summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/EventLoop/SimpleEventLoop.cpp')
-rw-r--r--Swiften/EventLoop/SimpleEventLoop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/EventLoop/SimpleEventLoop.cpp b/Swiften/EventLoop/SimpleEventLoop.cpp
index 37fecd9..2397016 100644
--- a/Swiften/EventLoop/SimpleEventLoop.cpp
+++ b/Swiften/EventLoop/SimpleEventLoop.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2015 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -21,7 +21,7 @@ SimpleEventLoop::~SimpleEventLoop() {
void SimpleEventLoop::doRun(bool breakAfterEvents) {
while (isRunning_) {
{
- boost::unique_lock<boost::mutex> lock(eventAvailableMutex_);
+ std::unique_lock<std::mutex> lock(eventAvailableMutex_);
while (!eventAvailable_) {
eventAvailableCondition_.wait(lock);
}
@@ -49,7 +49,7 @@ void SimpleEventLoop::doStop() {
void SimpleEventLoop::eventPosted() {
{
- boost::unique_lock<boost::mutex> lock(eventAvailableMutex_);
+ std::unique_lock<std::mutex> lock(eventAvailableMutex_);
eventAvailable_ = true;
}
eventAvailableCondition_.notify_one();