C++11 tidying.
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Aug 2022 14:28:48 +0000 (16:28 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Aug 2022 14:28:48 +0000 (16:28 +0200)
src/tools/dcpomatic_kdm.cc

index 30f2e0b827f9b3b999a5897c66b9fe76d7a2aee0..c816c8e8b161f8e5a5da47edce370f4f2ed375f3 100644 (file)
@@ -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;