Cleanup: use vector instead of list.
[dcpomatic.git] / src / lib / player.h
index 45dcd9900c256bce1996e3b92f4ec4699dfe83bd..e8f7685213a03313c681bf3d8ab51ef47c8ea0a2 100644 (file)
@@ -183,7 +183,7 @@ private:
 
        /** > 0 if we are suspended (i.e. pass() and seek() do nothing) */
        boost::atomic<int> _suspended;
-       std::list<std::shared_ptr<Piece>> _pieces;
+       std::vector<std::shared_ptr<Piece>> _pieces;
 
        /** Size of the image we are rendering to; this may be the DCP frame size, or
         *  the size of preview in a window.