Mercurial > hg > svcore
diff rdf/PluginRDFIndexer.cpp @ 1582:70e172e6cc59 fix-static-analysis
Use nullptr throughout
author | Chris Cannam |
---|---|
date | Mon, 26 Nov 2018 14:33:41 +0000 |
parents | 6a7ea3bd0e10 |
children | 5b1b03c1d8d4 |
line wrap: on
line diff
--- a/rdf/PluginRDFIndexer.cpp Mon Nov 26 13:51:36 2018 +0000 +++ b/rdf/PluginRDFIndexer.cpp Mon Nov 26 14:33:41 2018 +0000 @@ -51,7 +51,7 @@ using Dataquay::RDFDuplicateImportException; PluginRDFIndexer * -PluginRDFIndexer::m_instance = 0; +PluginRDFIndexer::m_instance = nullptr; PluginRDFIndexer * PluginRDFIndexer::getInstance() @@ -271,7 +271,7 @@ if (FileSource::isRemote(urlString) && FileSource::canHandleScheme(urlString)) { - CachedFile cf(urlString, 0, "application/rdf+xml"); + CachedFile cf(urlString, nullptr, "application/rdf+xml"); if (!cf.isOK()) { return false; }