summaryrefslogtreecommitdiff
path: root/src/lib/kdm_recipient.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-29 09:14:20 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-29 20:53:49 +0200
commit39fb8198febde1937019db1c300ec363aab5aa56 (patch)
tree52bc32134e8ae2b5587b3a62130baa9acf815b60 /src/lib/kdm_recipient.cc
parentb249700e1da7dd6631a8b4440587f4093a2bdef1 (diff)
C++11 tidying.
Diffstat (limited to 'src/lib/kdm_recipient.cc')
-rw-r--r--src/lib/kdm_recipient.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/kdm_recipient.cc b/src/lib/kdm_recipient.cc
index d05192ac6..cde41e22d 100644
--- a/src/lib/kdm_recipient.cc
+++ b/src/lib/kdm_recipient.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,11 +18,13 @@
*/
+
#include "kdm_recipient.h"
+
KDMRecipient::KDMRecipient (cxml::ConstNodePtr node)
: name (node->string_child("Name"))
- , notes (node->optional_string_child("Notes").get_value_or (""))
+ , notes (node->optional_string_child("Notes").get_value_or(""))
{
if (node->optional_string_child("Certificate")) {
recipient = dcp::Certificate (node->string_child("Certificate"));