1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

JsonNode change: Fix test

This commit is contained in:
Alexander Wilms 2024-07-17 15:20:18 +02:00
parent b605dea6db
commit 5712c3f9f4

View File

@ -95,7 +95,7 @@ static JsonNode getFromArchive(CZipLoader & archive, const std::string & archive
auto data = archive.load(resource)->readAll();
JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second);
JsonNode res(reinterpret_cast<const std::byte *>(data.first.get()), data.second, resource.getName());
return res;
}