summaryrefslogtreecommitdiff
path: root/src/pkl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-31 00:07:08 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-31 00:07:08 +0100
commitd8c9cbec9d87f28da338350880b7618b94f4da81 (patch)
treec1e853ab494ac3731982c075046215f670153232 /src/pkl.cc
parent9a9d4e014c16be88d72914a9480343445bc785a5 (diff)
Bits.
Diffstat (limited to 'src/pkl.cc')
-rw-r--r--src/pkl.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pkl.cc b/src/pkl.cc
index b41fc185..7e492d99 100644
--- a/src/pkl.cc
+++ b/src/pkl.cc
@@ -11,13 +11,7 @@ PKL::PKL (string file)
issue_date = string_node ("IssueDate");
issuer = string_node ("Issuer");
creator = string_node ("Creator");
- asset_list = sub_node<PKLAssetList> ("AssetList");
-}
-
-PKLAssetList::PKLAssetList (xmlpp::Node const * node)
- : XMLNode (node)
-{
- assets = sub_nodes<PKLAsset> ("Asset");
+ assets = sub_nodes<PKLAsset> ("AssetList", "Asset");
}
PKLAsset::PKLAsset (xmlpp::Node const * node)