projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a constexpr and a nullptr.
[dcpomatic.git]
/
src
/
lib
/
kdm_recipient.cc
diff --git
a/src/lib/kdm_recipient.cc
b/src/lib/kdm_recipient.cc
index d05192ac675111f3a8f46ad3dbe49d6cbe7d606c..cde41e22d86162b158f6233a98a76141aa0a102a 100644
(file)
--- 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.
This file is part of DCP-o-matic.
@@
-18,11
+18,13
@@
*/
*/
+
#include "kdm_recipient.h"
#include "kdm_recipient.h"
+
KDMRecipient::KDMRecipient (cxml::ConstNodePtr node)
: name (node->string_child("Name"))
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"));
{
if (node->optional_string_child("Certificate")) {
recipient = dcp::Certificate (node->string_child("Certificate"));