projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f5c053
)
C++11 cleanup.
checked-for-v2.16.x
author
Carl Hetherington
<cth@carlh.net>
Thu, 10 Feb 2022 20:10:07 +0000
(21:10 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 10 Feb 2022 20:12:09 +0000
(21:12 +0100)
src/lib/config.cc
patch
|
blob
|
history
diff --git
a/src/lib/config.cc
b/src/lib/config.cc
index b90f028164a2de6d0d95215d91a74c739bf49d3d..463778887af03b05280177ff3e819c5c56f13bf4 100644
(file)
--- a/
src/lib/config.cc
+++ b/
src/lib/config.cc
@@
-619,7
+619,7
@@
catch (...) {
Config *
Config::instance ()
{
- if (_instance ==
0
) {
+ if (_instance ==
nullptr
) {
_instance = new Config;
_instance->read ();
}