mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use std::string::empty() instead of size() where applicable
This commit is contained in:
parent
83830e8682
commit
10e0cf8b2c
14 changed files with 27 additions and 27 deletions
|
@ -434,7 +434,7 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue