Update Importer.cpp

Make check more expressive.
pull/1981/head
Kim Kulling 2018-05-25 21:43:39 +02:00 committed by GitHub
parent f29af1abc0
commit aa18e8a2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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());