diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-31 00:07:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-31 00:07:08 +0100 |
| commit | d8c9cbec9d87f28da338350880b7618b94f4da81 (patch) | |
| tree | c1e853ab494ac3731982c075046215f670153232 /src/pkl.cc | |
| parent | 9a9d4e014c16be88d72914a9480343445bc785a5 (diff) | |
Bits.
Diffstat (limited to 'src/pkl.cc')
| -rw-r--r-- | src/pkl.cc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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) |
