2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-07-09 20:51:51 +00:00

chore: use std array for json constants

This commit is contained in:
Jan Laupetin
2025-07-07 18:13:47 +02:00
parent c53b17a3db
commit 30c6735ff5
2 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@ namespace GAME
std::optional<std::string> name;
std::optional<std::string> nameFragment;
std::optional<unsigned> nameHash;
std::vector<float> literal;
std::array<float, 4> literal;
};
inline void to_json(nlohmann::json& out, const JsonConstant& in)