Fix issue with 0 Byte archives

This commit is contained in:
2021-07-22 03:23:25 +02:00
parent 58f2efb360
commit ef871997cf

View File

@@ -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;
}