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, 1 insertions, 3 deletions
diff --git a/src/lib/cinema.cc b/src/lib/cinema.cc
index 3f1750621..469cf2e6b 100644
--- a/src/lib/cinema.cc
+++ b/src/lib/cinema.cc
@@ -25,13 +25,11 @@
#include <dcp/raw_convert.h>
#include <libxml++/libxml++.h>
#include <boost/foreach.hpp>
-#include <boost/make_shared.hpp>
#include <iostream>
using std::list;
using std::string;
using boost::shared_ptr;
-using boost::make_shared;
Cinema::Cinema (cxml::ConstNodePtr node)
: name (node->string_child ("Name"))
@@ -58,7 +56,7 @@ 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) {
- add_screen (make_shared<Screen> (*i));
+ add_screen (shared_ptr<Screen> (new Screen (*i)));
}
}