diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-29 16:21:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-29 16:21:13 +0100 |
| commit | 7e9ad089942bc3f1f9b461c87203b515c6d4a237 (patch) | |
| tree | c4af2873e366d2ca59210d74a14f9cfd5e2b42ac /src/dcp.cc | |
| parent | 8ef91325f4e565d04493bc05202f8e066b5e3e0c (diff) | |
Simplify NameFormat classes a bit.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -464,15 +464,15 @@ DCP::write_xml ( { BOOST_FOREACH (shared_ptr<CPL> i, cpls ()) { NameFormat::Map values; - values["type"] = "cpl"; - values["id"] = i->id(); + values['t'] = "cpl"; + values['i'] = i->id(); i->write_xml (_directory / (filename_format.get(values) + ".xml"), standard, signer); } string const pkl_uuid = make_uuid (); NameFormat::Map values; - values["type"] = "pkl"; - values["id"] = pkl_uuid; + values['t'] = "pkl"; + values['i'] = pkl_uuid; boost::filesystem::path const pkl_path = write_pkl (filename_format.get(values) + ".xml", standard, pkl_uuid, metadata, signer); write_volindex (standard); |
