Add option to get file size of all opened archives

This commit is contained in:
Georg Hagen
2024-08-14 15:43:01 +02:00
parent a3a8409c73
commit c5dfbc41e0
3 changed files with 8 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenVulkano
ArchiveWriter::~ArchiveWriter()
{
if (m_asBuffer) { m_asBuffer->Close(); m_asBuffer = nullptr; }
archive_write_close(m_archive);
ChkErr(archive_write_close(m_archive));
archive_entry_free(m_archiveEntry);
}