Fix issue with 0 Byte archives
This commit is contained in:
@@ -136,8 +136,9 @@ namespace openVulkanoCpp
|
||||
m_archiveEntry = nullptr;
|
||||
if (!m_archivesToRead.empty())
|
||||
{
|
||||
Open(m_archivesToRead.front());
|
||||
std::string next = std::move(m_archivesToRead.front());
|
||||
m_archivesToRead.pop();
|
||||
Open(next);
|
||||
}
|
||||
else m_eof = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user