summaryrefslogtreecommitdiff
path: root/src/lib/cinema.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-19 11:34:01 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-19 11:34:01 +0100
commitbb0a36c3a6bea9cd1ebdde7b8a3a04765e317569 (patch)
treefe31842bc2fcb511f3f6daf02c78575b4eabaec5 /src/lib/cinema.cc
parent308488324dbc4d8b709d3fb1dc9fee0479346c21 (diff)
Use cxml::ConstNodePtr.
Diffstat (limited to 'src/lib/cinema.cc')
-rw-r--r--src/lib/cinema.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index 43a432239..c8cb7b66c 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -24,7 +24,7 @@
using std::list;
using boost::shared_ptr;
-Cinema::Cinema (shared_ptr<const cxml::Node> node)
+Cinema::Cinema (cxml::ConstNodePtr node)
: name (node->string_child ("Name"))
, email (node->string_child ("Email"))
{
@@ -35,7 +35,7 @@ Cinema::Cinema (shared_ptr<const cxml::Node> node)
a constructor)
*/
void
-Cinema::read_screens (shared_ptr<const cxml::Node> node)
+Cinema::read_screens (cxml::ConstNodePtr node)
{
list<cxml::NodePtr> s = node->node_children ("Screen");
for (list<cxml::NodePtr>::iterator i = s.begin(); i != s.end(); ++i) {
@@ -67,7 +67,7 @@ Cinema::remove_screen (shared_ptr<Screen> s)
_screens.remove (s);
}
-Screen::Screen (shared_ptr<const cxml::Node> node)
+Screen::Screen (cxml::ConstNodePtr node)
{
name = node->string_child ("Name");
certificate = shared_ptr<dcp::Certificate> (new dcp::Certificate (node->string_child ("Certificate")));