diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:41:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | b1e22dff981fb86ae04b12bb5a064e61030793a8 (patch) | |
| tree | ffb112f6e3f3311d8669f6a89628bf5f0bc40f2e /src/lib/content_factory.h | |
| parent | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff) | |
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'src/lib/content_factory.h')
| -rw-r--r-- | src/lib/content_factory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/content_factory.h b/src/lib/content_factory.h index 7da5435d5..2cef84034 100644 --- a/src/lib/content_factory.h +++ b/src/lib/content_factory.h @@ -25,6 +25,7 @@ #include <libcxml/cxml.h> +#include <vector> class Film; @@ -32,4 +33,4 @@ class Content; extern std::shared_ptr<Content> content_factory (cxml::ConstNodePtr, int, std::list<std::string> &); -extern std::list<std::shared_ptr<Content>> content_factory (boost::filesystem::path); +extern std::vector<std::shared_ptr<Content>> content_factory (boost::filesystem::path); |
