From: Carl Hetherington Date: Tue, 1 Sep 2015 10:22:18 +0000 (+0100) Subject: Hack to remove boost atomic dependency. X-Git-Tag: v2.1.50~9 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=52b928b4901aa11b00888ce6880de1c64debf426;p=dcpomatic.git Hack to remove boost atomic dependency. --- 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 #include #include -#include #include #include @@ -96,7 +95,8 @@ private: bool _left_done; bool _right_done; - boost::atomic _terminate; + /* XXX: probably should be atomic */ + bool _terminate; /** Mutex for _threads */ mutable boost::mutex _threads_mutex; std::list _threads;