diff options
| author | Filip Gawin <filip.gawin@zoho.com> | 2019-02-12 23:47:17 +0100 |
|---|---|---|
| committer | Filip Gawin <filip.gawin@zoho.com> | 2019-02-13 00:03:49 +0100 |
| commit | 49fe9f5db13f15460a49c5771ee0d2c6b8bfdc3c (patch) | |
| tree | d5bbc9e6df9ade7cd4e6917af5cc0f286eaa91ff /Source/Core/DiscIO/WbfsBlob.cpp | |
| parent | 363ce67459fd48253d2a38cf2528c7465db49911 (diff) | |
Use empty instead of size
Diffstat (limited to 'Source/Core/DiscIO/WbfsBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/WbfsBlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/WbfsBlob.cpp b/Source/Core/DiscIO/WbfsBlob.cpp index 0227a692c2..be7403fa1f 100644 --- a/Source/Core/DiscIO/WbfsBlob.cpp +++ b/Source/Core/DiscIO/WbfsBlob.cpp @@ -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) { |
