summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-01 11:22:18 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-01 11:22:18 +0100
commit52b928b4901aa11b00888ce6880de1c64debf426 (patch)
treeacefb4bf048d546eeee557953ca0f8b9bd5f0e37 /src/lib
parenta5729cfb5061b9f4abb6057e6895f379e7654900 (diff)
Hack to remove boost atomic dependency.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/encoder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h
index b255a617f..caadda591 100644
--- a/src/lib/encoder.h
+++ b/src/lib/encoder.h
@@ -33,7 +33,6 @@
#include <boost/thread.hpp>
#include <boost/optional.hpp>
#include <boost/signals2.hpp>
-#include <boost/atomic.hpp>
#include <list>
#include <stdint.h>
@@ -96,7 +95,8 @@ private:
bool _left_done;
bool _right_done;
- boost::atomic<bool> _terminate;
+ /* XXX: probably should be atomic */
+ bool _terminate;
/** Mutex for _threads */
mutable boost::mutex _threads_mutex;
std::list<boost::thread *> _threads;