소스 검색

Update Importer.cpp

Make check more expressive.
Kim Kulling 7 년 전
부모
커밋
aa18e8a2a5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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());