summaryrefslogtreecommitdiff
path: root/src/lib/cinema.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cinema.cc')
-rw-r--r--src/lib/cinema.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index eccd46b84..fca6b6afd 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -37,8 +37,8 @@ Cinema::Cinema (shared_ptr<const cxml::Node> node)
void
Cinema::read_screens (shared_ptr<const cxml::Node> node)
{
- list<shared_ptr<cxml::Node> > s = node->node_children ("Screen");
- for (list<shared_ptr<cxml::Node> >::iterator i = s.begin(); i != s.end(); ++i) {
+ list<cxml::NodePtr> s = node->node_children ("Screen");
+ for (list<cxml::NodePtr>::iterator i = s.begin(); i != s.end(); ++i) {
add_screen (shared_ptr<Screen> (new Screen (*i)));
}
}