summaryrefslogtreecommitdiff
path: root/src/lib/cinema.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-20 18:47:13 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-20 18:47:13 +0100
commitf0380b3df50ca48ad2f22b5e7d5544dc9fa30d61 (patch)
tree3c4a73185ee36a7c73e9e3e84fc6f7447477cb0a /src/lib/cinema.cc
parent1ba7bca7f2950faa441ec83920d35b65016f3fa6 (diff)
More various KDM fixes.
Diffstat (limited to 'src/lib/cinema.cc')
-rw-r--r--src/lib/cinema.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index ecd083f0a..7af4372f5 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -31,7 +31,7 @@ Cinema::Cinema (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) {
- _screens.push_back (shared_ptr<Screen> (new Screen (*i)));
+ add_screen (shared_ptr<Screen> (new Screen (*i)));
}
}