Mod: use empty

This commit is contained in:
berniev
2022-08-06 02:29:31 +10:00
committed by wwmayer
parent 1cc6329eab
commit b796a0d376
134 changed files with 419 additions and 419 deletions

View File

@@ -35,7 +35,7 @@ std::string GeometryBoolExtensionPy::representation(void) const
bool val = getGeometryBoolExtensionPtr()->getValue();
str << "<GeometryBoolExtension (" ;
if(getGeometryBoolExtensionPtr()->getName().size()>0)
if(!getGeometryBoolExtensionPtr()->getName().empty())
str << "\'" << getGeometryBoolExtensionPtr()->getName() << "\', ";
str << (val?"True":"False") << ") >";