Can't put boost::thread in a std::list with our macOS compiler.
[dcpomatic.git] / src / lib / j2k_encoder.h
index b57c4df7e3692501a64256730ab2928b1a92a692..b4542c40a147cca4ccbc62b39f340a5f6a660afe 100644 (file)
@@ -89,7 +89,7 @@ private:
 
        /** Mutex for _threads */
        mutable boost::mutex _threads_mutex;
-       std::list<boost::thread> _threads;
+       std::list<boost::thread*> _threads;
        mutable boost::mutex _queue_mutex;
        std::list<boost::shared_ptr<DCPVideo> > _queue;
        /** condition to manage thread wakeups when we have nothing to do */