summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-09 23:39:29 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-10 10:31:15 +0100
commitcec8f476253ee20e7bc05dbcc3a6a74b84cc8fa4 (patch)
tree76e91ca88ac2dc9c8fd14a17da8b8274c1e7762a
parentfbdfc901498605f89f28a57d595df966bddc4eb1 (diff)
Cleanup: use vector instead of list.
-rw-r--r--src/lib/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 45dcd9900..e8f768521 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -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.