Mercurial > hg > svcore
diff rdf/RDFImporter.cpp @ 1582:70e172e6cc59 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:41 +0000 |
parents | 85e9b7b31a8d |
children | 7a23dfe65d66 |
line wrap: on
line diff
--- a/rdf/RDFImporter.cpp Mon Nov 26 13:51:36 2018 +0000 +++ b/rdf/RDFImporter.cpp Mon Nov 26 14:33:41 2018 +0000 @@ -617,7 +617,7 @@ if (values.size() == 1) dimensions = 2; else if (values.size() > 1) dimensions = 3; - Model *model = 0; + Model *model = nullptr; if (modelMap[timeline][type][dimensions].find(haveDuration) == modelMap[timeline][type][dimensions].end()) { @@ -809,7 +809,7 @@ bool haveAnnotations = false; bool haveRDF = false; - BasicStore *store = 0; + BasicStore *store = nullptr; // This is not expected to return anything useful, but if it does // anything at all then we know we have RDF