summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-29 00:52:56 +0100
committerCarl Hetherington <cth@carlh.net>2025-10-29 00:52:56 +0100
commit4a293943b92664f0a5687ebdaf44531aa0aa8d79 (patch)
tree9514bbb7b9f7917ed8d2096a0f94ce212aefb95a /src
parent3ee19997fccaaa75b36537e9802985f04d279ede (diff)
White space: kdm_recipient.{cc,h}
Diffstat (limited to 'src')
-rw-r--r--src/lib/kdm_recipient.cc8
-rw-r--r--src/lib/kdm_recipient.h14
2 files changed, 11 insertions, 11 deletions
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<dcp::Certificate> recipient, boost::optional<std::string> recipient_file_)
- : name (name_)
- , notes (notes_)
- , recipient_file (recipient_file_)
+ KDMRecipient(std::string const& name_, std::string const& notes_, boost::optional<dcp::Certificate> recipient, boost::optional<std::string> 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<dcp::Certificate> recipient() const;
void set_recipient(boost::optional<dcp::Certificate> certificate);