From d8c9cbec9d87f28da338350880b7618b94f4da81 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 Jul 2012 00:07:08 +0100 Subject: Bits. --- src/pkl.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/pkl.cc') 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 ("AssetList"); -} - -PKLAssetList::PKLAssetList (xmlpp::Node const * node) - : XMLNode (node) -{ - assets = sub_nodes ("Asset"); + assets = sub_nodes ("AssetList", "Asset"); } PKLAsset::PKLAsset (xmlpp::Node const * node) -- cgit v1.2.3