summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
-rw-r--r--src/pkl.cc2
-rw-r--r--src/pkl.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index da083a35..987a2333 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -550,7 +550,7 @@ DCP::write_xml (
NameFormat::Map values;
values['t'] = "pkl";
auto pkl_path = _directory / name_format.get(values, "_" + pkl->id() + ".xml");
- pkl->write (pkl_path, signer);
+ pkl->write_xml (pkl_path, signer);
write_volindex (standard);
write_assetmap (standard, pkl->id(), pkl_path, issuer, creator, issue_date, annotation_text);
diff --git a/src/pkl.cc b/src/pkl.cc
index 22589b4d..5c7664fb 100644
--- a/src/pkl.cc
+++ b/src/pkl.cc
@@ -94,7 +94,7 @@ PKL::add_asset (std::string id, boost::optional<std::string> annotation_text, st
void
-PKL::write (boost::filesystem::path file, shared_ptr<const CertificateChain> signer) const
+PKL::write_xml (boost::filesystem::path file, shared_ptr<const CertificateChain> signer) const
{
xmlpp::Document doc;
xmlpp::Element* pkl;
diff --git a/src/pkl.h b/src/pkl.h
index 01988e70..5ca32b5a 100644
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -77,7 +77,7 @@ public:
boost::optional<std::string> type (std::string id) const;
void add_asset (std::string id, boost::optional<std::string> annotation_text, std::string hash, int64_t size, std::string type);
- void write (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const;
+ void write_xml (boost::filesystem::path file, std::shared_ptr<const CertificateChain> signer) const;
/** @return the most recent disk file used to read or write this PKL, if there is one */
boost::optional<boost::filesystem::path> file () const {