C++11 cleanup. checked-for-v2.16.x
authorCarl Hetherington <cth@carlh.net>
Thu, 10 Feb 2022 20:10:07 +0000 (21:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 10 Feb 2022 20:12:09 +0000 (21:12 +0100)
src/lib/config.cc

index b90f028164a2de6d0d95215d91a74c739bf49d3d..463778887af03b05280177ff3e819c5c56f13bf4 100644 (file)
@@ -619,7 +619,7 @@ catch (...) {
 Config *
 Config::instance ()
 {
-       if (_instance == 0) {
+       if (_instance == nullptr) {
                _instance = new Config;
                _instance->read ();
        }