summaryrefslogtreecommitdiff
path: root/test/threed_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-09 20:41:10 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-11 12:22:11 +0200
commitb1e22dff981fb86ae04b12bb5a064e61030793a8 (patch)
treeffb112f6e3f3311d8669f6a89628bf5f0bc40f2e /test/threed_test.cc
parent736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff)
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'test/threed_test.cc')
-rw-r--r--test/threed_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/threed_test.cc b/test/threed_test.cc
index 4413ff01b..e322dbda5 100644
--- a/test/threed_test.cc
+++ b/test/threed_test.cc
@@ -183,7 +183,7 @@ BOOST_AUTO_TEST_CASE (threed_test7)
auto film = new_test_film2 ("threed_test7");
path const content_path = "test/data/flat_red.png";
- auto c = content_factory(content_path).front();
+ auto c = content_factory(content_path)[0];
film->examine_and_add_content (c);
BOOST_REQUIRE (!wait_for_jobs());