summaryrefslogtreecommitdiff
path: root/src/pkl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkl.cc')
-rw-r--r--src/pkl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkl.cc b/src/pkl.cc
index adcad573..b2fe875b 100644
--- a/src/pkl.cc
+++ b/src/pkl.cc
@@ -49,6 +49,7 @@ static string const pkl_interop_ns = "http://www.digicine.com/PROTO-ASDCP-PKL-20
static string const pkl_smpte_ns = "http://www.smpte-ra.org/schemas/429-8/2007/PKL";
PKL::PKL (boost::filesystem::path file)
+ : _file (file)
{
cxml::Document pkl ("PackingList");
pkl.read_file (file);
@@ -116,6 +117,7 @@ PKL::write (boost::filesystem::path file, shared_ptr<const CertificateChain> sig
}
doc.write_to_file_formatted (file.string(), "UTF-8");
+ _file = file;
}
optional<string>