Various thread cleanups.
[dcpomatic.git] / src / lib / j2k_encoder.h
index b723ca88f7afe2211364f25b817360ec639d4872..b57c4df7e3692501a64256730ab2928b1a92a692 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 */