summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/content_factory.cc2
-rw-r--r--src/lib/content_factory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc
index 077ef529e..10486b0c3 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -57,7 +57,7 @@ using boost::optional;
* @return Content object, or 0 if no content was recognised in the XML.
*/
shared_ptr<Content>
-content_factory (shared_ptr<const Film> film, cxml::NodePtr node, int version, list<string>& notes)
+content_factory (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version, list<string>& notes)
{
string const type = node->string_child ("Type");
diff --git a/src/lib/content_factory.h b/src/lib/content_factory.h
index 9c090c690..f712d9364 100644
--- a/src/lib/content_factory.h
+++ b/src/lib/content_factory.h
@@ -28,5 +28,5 @@
class Film;
class Content;
-extern boost::shared_ptr<Content> content_factory (boost::shared_ptr<const Film>, cxml::NodePtr, int, std::list<std::string> &);
+extern boost::shared_ptr<Content> content_factory (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int, std::list<std::string> &);
extern std::list<boost::shared_ptr<Content> > content_factory (boost::shared_ptr<const Film>, boost::filesystem::path);