projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf33e7
)
C++11 tidying.
author
Carl Hetherington
<cth@carlh.net>
Wed, 17 Aug 2022 14:28:48 +0000
(16:28 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 17 Aug 2022 14:28:48 +0000
(16:28 +0200)
src/tools/dcpomatic_kdm.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic_kdm.cc
b/src/tools/dcpomatic_kdm.cc
index 30f2e0b827f9b3b999a5897c66b9fe76d7a2aee0..c816c8e8b161f8e5a5da47edce370f4f2ed375f3 100644
(file)
--- a/
src/tools/dcpomatic_kdm.cc
+++ b/
src/tools/dcpomatic_kdm.cc
@@
-289,7
+289,7
@@
private:
if (id) {
*id = 0;
}
- return
shared_ptr<DKDMBase> ()
;
+ return
{}
;
}
if (id) {
@@
-298,7
+298,7
@@
private:
auto i = _dkdm_id.find (selections[0]);
if (i == _dkdm_id.end()) {
- return
shared_ptr<DKDMBase> ()
;
+ return
{}
;
}
return i->second;