Explorar o código

Update Importer.cpp

Make check more expressive.
Kim Kulling %!s(int64=7) %!d(string=hai) anos
pai
achega
aa18e8a2a5
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      code/Importer.cpp

+ 1 - 2
code/Importer.cpp

@@ -971,8 +971,7 @@ void Importer::GetExtensionList(aiString& szOut) const
     }
 
 	// List can be empty
-	if(str.size() > 0)
-	{
+	if( !str.empty() ) {
 		for (std::set<std::string>::const_iterator it = str.begin();; ) {
 			szOut.Append("*.");
 			szOut.Append((*it).c_str());