diff layer/SingleColourLayer.cpp @ 1414:fa986b91d77f

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:51 +0000
parents c8a6fd3f9dff
children
line wrap: on
line diff
--- a/layer/SingleColourLayer.cpp	Wed Jan 09 14:41:52 2019 +0000
+++ b/layer/SingleColourLayer.cpp	Wed Jan 09 15:24:51 2019 +0000
@@ -35,7 +35,7 @@
     // Reference current colour because setDefaulColourFor
     // will unreference it before (possibly) changing it.
     refColor();
-    setDefaultColourFor(0);
+    setDefaultColourFor(nullptr);
 }
 
 SingleColourLayer::~SingleColourLayer()
@@ -125,7 +125,7 @@
 RangeMapper *
 SingleColourLayer::getNewPropertyRangeMapper(const PropertyName &) const
 {
-    return 0;
+    return nullptr;
 }
 
 void