Mod: use empty
This commit is contained in:
@@ -38,7 +38,7 @@ std::string GeometryStringExtensionPy::representation(void) const
|
||||
std::stringstream str;
|
||||
str << "<GeometryStringExtension (" ;
|
||||
|
||||
if(getGeometryStringExtensionPtr()->getName().size()>0)
|
||||
if(!getGeometryStringExtensionPtr()->getName().empty())
|
||||
str << "\'" << getGeometryStringExtensionPtr()->getName() << "\', ";
|
||||
|
||||
str << getGeometryStringExtensionPtr()->getValue() << ") >";
|
||||
|
||||
Reference in New Issue
Block a user