App: modernize C++11
* use nullptr
This commit is contained in:
@@ -168,7 +168,7 @@ const std::string &ComplexGeoData::elementMapPrefix() {
|
||||
const char *ComplexGeoData::isMappedElement(const char *name) {
|
||||
if(name && boost::starts_with(name,elementMapPrefix()))
|
||||
return name+elementMapPrefix().size();
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string ComplexGeoData::newElementName(const char *name) {
|
||||
|
||||
Reference in New Issue
Block a user