Use std::string::empty() instead of size() where applicable
This commit is contained in:
@@ -434,7 +434,7 @@ class OpenALSoundManager: public ISoundManager
|
||||
}
|
||||
}
|
||||
}
|
||||
if(del_list.size() != 0)
|
||||
if(!del_list.empty())
|
||||
verbosestream<<"OpenALSoundManager::maintain(): deleting "
|
||||
<<del_list.size()<<" playing sounds"<<std::endl;
|
||||
for(std::set<int>::iterator i = del_list.begin();
|
||||
|
||||
Reference in New Issue
Block a user