mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
JsonNode change: Fix test
This commit is contained in:
@@ -95,7 +95,7 @@ static JsonNode getFromArchive(CZipLoader & archive, const std::string & archive
|
|||||||
|
|
||||||
auto data = archive.load(resource)->readAll();
|
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;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user