diff options
Diffstat (limited to 'src/lib/content_factory.cc')
| -rw-r--r-- | src/lib/content_factory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc index 7bcc45503..135f3fe5f 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -50,6 +50,7 @@ using std::list; using std::make_shared; using std::shared_ptr; using std::string; +using std::vector; /** Create a Content object from an XML node. @@ -104,10 +105,10 @@ content_factory (cxml::ConstNodePtr node, int version, list<string>& notes) * @param path File or directory. * @return Content objects. */ -list<shared_ptr<Content>> +vector<shared_ptr<Content>> content_factory (boost::filesystem::path path) { - list<shared_ptr<Content>> content; + vector<shared_ptr<Content>> content; if (boost::filesystem::is_directory (path)) { |
