From 4a293943b92664f0a5687ebdaf44531aa0aa8d79 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Oct 2025 00:52:56 +0100 Subject: White space: kdm_recipient.{cc,h} --- src/lib/kdm_recipient.cc | 8 ++++---- src/lib/kdm_recipient.h | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/lib/kdm_recipient.cc b/src/lib/kdm_recipient.cc index 7e7e14324..20ba80d6d 100644 --- a/src/lib/kdm_recipient.cc +++ b/src/lib/kdm_recipient.cc @@ -25,9 +25,9 @@ using boost::optional; -KDMRecipient::KDMRecipient (cxml::ConstNodePtr node) - : name (node->string_child("Name")) - , notes (node->optional_string_child("Notes").get_value_or("")) +KDMRecipient::KDMRecipient(cxml::ConstNodePtr node) + : name(node->string_child("Name")) + , notes(node->optional_string_child("Notes").get_value_or("")) { if (node->optional_string_child("Certificate")) { _recipient = dcp::Certificate(node->string_child("Certificate")); @@ -40,7 +40,7 @@ KDMRecipient::KDMRecipient (cxml::ConstNodePtr node) void -KDMRecipient::as_xml (xmlpp::Element* parent) const +KDMRecipient::as_xml(xmlpp::Element* parent) const { cxml::add_text_child(parent, "Name", name); if (auto const r = recipient()) { diff --git a/src/lib/kdm_recipient.h b/src/lib/kdm_recipient.h index 9fe75874d..76b25ff8f 100644 --- a/src/lib/kdm_recipient.h +++ b/src/lib/kdm_recipient.h @@ -36,10 +36,10 @@ LIBDCP_ENABLE_WARNINGS class KDMRecipient { public: - KDMRecipient (std::string const& name_, std::string const& notes_, boost::optional recipient, boost::optional recipient_file_) - : name (name_) - , notes (notes_) - , recipient_file (recipient_file_) + KDMRecipient(std::string const& name_, std::string const& notes_, boost::optional recipient, boost::optional recipient_file_) + : name(name_) + , notes(notes_) + , recipient_file(recipient_file_) , _recipient(recipient) {} @@ -50,11 +50,11 @@ public: , _recipient_string(recipient) {} - explicit KDMRecipient (cxml::ConstNodePtr); + explicit KDMRecipient(cxml::ConstNodePtr); - virtual ~KDMRecipient () {} + virtual ~KDMRecipient() {} - virtual void as_xml (xmlpp::Element *) const; + virtual void as_xml(xmlpp::Element *) const; boost::optional recipient() const; void set_recipient(boost::optional certificate); -- cgit v1.2.3