mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Reworked JsonNode constructors to more logical form
This commit is contained in:
@@ -96,7 +96,7 @@ QVariant JsonFromFile(QString filename)
|
||||
}
|
||||
else
|
||||
{
|
||||
JsonNode node(data.data(), data.size());
|
||||
JsonNode node(reinterpret_cast<const std::byte*>(data.data()), data.size());
|
||||
return toVariant(node);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user