summaryrefslogtreecommitdiff
path: root/src/parse/asset_map.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-29 20:21:26 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-29 20:21:26 +0100
commitcb92077b0a6730f1d71931300ad293e29185c47d (patch)
tree5a6d540b09d5ee177300e61994db26bc9cb5061a /src/parse/asset_map.cc
parentb2c879b0ef98958bb706d5c519ed4dbf0dd23619 (diff)
Change to libcxml API.
Diffstat (limited to 'src/parse/asset_map.cc')
-rw-r--r--src/parse/asset_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse/asset_map.cc b/src/parse/asset_map.cc
index aedc931e..484c2710 100644
--- a/src/parse/asset_map.cc
+++ b/src/parse/asset_map.cc
@@ -33,7 +33,8 @@ using namespace libdcp::parse;
AssetMap::AssetMap (string file)
{
- cxml::File f (file, "AssetMap");
+ cxml::Document f ("AssetMap");
+ f.read_file (file);
id = f.string_child ("Id");
creator = f.string_child ("Creator");