From 81450a3f659c466ba178a1173fbd79465f3060d5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 29 Sep 2013 09:11:00 +0100 Subject: const fixes. --- src/dcp.cc | 4 ++-- src/dcp.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/dcp.cc b/src/dcp.cc index 03d1598d..48ee7c56 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -67,7 +67,7 @@ DCP::DCP (boost::filesystem::path directory) } void -DCP::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr signer) const +DCP::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr signer) const { for (list >::const_iterator i = _cpls.begin(); i != _cpls.end(); ++i) { (*i)->write_xml (interop, metadata, signer); @@ -81,7 +81,7 @@ DCP::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr s } std::string -DCP::write_pkl (string pkl_uuid, bool interop, XMLMetadata const & metadata, shared_ptr signer) const +DCP::write_pkl (string pkl_uuid, bool interop, XMLMetadata const & metadata, shared_ptr signer) const { assert (!_cpls.empty ()); diff --git a/src/dcp.h b/src/dcp.h index f2a261cd..635a972d 100644 --- a/src/dcp.h +++ b/src/dcp.h @@ -83,7 +83,7 @@ public: /** Write the required XML files to the directory that was * passed into the constructor. */ - void write_xml (bool interop, XMLMetadata const &, boost::shared_ptr signer = boost::shared_ptr ()) const; + void write_xml (bool interop, XMLMetadata const &, boost::shared_ptr signer = boost::shared_ptr ()) const; /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. @@ -126,7 +126,7 @@ private: /** Write the PKL file. * @param pkl_uuid UUID to use. */ - std::string write_pkl (std::string pkl_uuid, bool, XMLMetadata const &, boost::shared_ptr) const; + std::string write_pkl (std::string pkl_uuid, bool, XMLMetadata const &, boost::shared_ptr) const; /** Write the VOLINDEX file */ void write_volindex () const; -- cgit v1.2.3