summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-20 15:22:28 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-20 15:22:28 +0100
commita60b5f373fbc6a014a04ea40b8fd65eb75e09e0e (patch)
tree0443f5aef0dc8669929ef67f75e5cfaf44d1d13e /src/lib
parent95b9ed055b8a2ad0652ac2ec25f3b0bc0f1a0e19 (diff)
const correctness fix.v2.13.64
Diffstat (limited to 'src/lib')
-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);