Cleanup: use vector instead of list.
authorCarl Hetherington <cth@carlh.net>
Thu, 9 Feb 2023 22:39:29 +0000 (23:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 10 Feb 2023 09:31:15 +0000 (10:31 +0100)
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.