summaryrefslogtreecommitdiffstats
path: root/src/control/RPGEdit.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 03:19:55 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 03:19:55 +0200
commitba321783e7f66068a5a5379992a8e081a70bf243 (patch)
treebf99da94566abbd92a330bab79c78319424a25b8 /src/control/RPGEdit.hpp
parentb5c7b4a162a780980b3ecacf0edd49541888a0a8 (diff)
downloadrpgedit-ba321783e7f66068a5a5379992a8e081a70bf243.tar
rpgedit-ba321783e7f66068a5a5379992a8e081a70bf243.zip
Simplify thread synchronization
Diffstat (limited to 'src/control/RPGEdit.hpp')
-rw-r--r--src/control/RPGEdit.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/control/RPGEdit.hpp b/src/control/RPGEdit.hpp
index 4279f10..d6f3aee 100644
--- a/src/control/RPGEdit.hpp
+++ b/src/control/RPGEdit.hpp
@@ -30,7 +30,6 @@
#include "InputHandler.hpp"
#include "MapContext.hpp"
-#include <condition_variable>
#include <memory>
#include <mutex>
#include <thread>
@@ -54,7 +53,6 @@ private:
std::thread eventThread;
std::mutex modelMutex;
- std::condition_variable modelCond;
uint64_t handledTime = std::numeric_limits<uint64_t>::max();
void enqueueNow(const EventBus::Event &event) {