1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-03 23:19:22 +02:00

Added modification time to zip.

* it is required to consider archive valid (by some tools)
This commit is contained in:
AlexVinS
2015-08-14 01:42:52 +03:00
committed by AlexVinS
parent f6e2cd16ed
commit b683c29b6e
2 changed files with 19 additions and 3 deletions

View File

@@ -68,6 +68,8 @@ BOOST_AUTO_TEST_CASE(CMapFormatVCMI_Simple)
boost::filesystem::remove(path);
boost::filesystem::ofstream tmp(path);
tmp.write((const char *)serializeBuffer.getBuffer().data(),serializeBuffer.getSize());
tmp.flush();
tmp.close();
}