Use empty instead of size

This commit is contained in:
Filip Gawin
2019-02-12 23:47:17 +01:00
parent 363ce67459
commit 49fe9f5db1
28 changed files with 56 additions and 56 deletions

View File

@ -58,7 +58,7 @@ void WbfsFileReader::OpenAdditionalFiles(const std::string& path)
if (path.length() < 4)
return;
ASSERT(m_files.size() > 0); // The code below gives .wbf0 for index 0, but it should be .wbfs
ASSERT(!m_files.empty()); // The code below gives .wbf0 for index 0, but it should be .wbfs
while (true)
{