diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-09 19:02:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-09 19:02:48 +0100 |
commit | c428c495b56a53ac77d9e0b356a5b0014589be76 (patch) | |
tree | 2965dd897eb2ccad3eec3c9d514db7cf610ef7ab /serialize | |
parent | f009ba6263e55383395ac3afb2335816846b333b (diff) |
scenery: update following .json schema change
Diffstat (limited to 'serialize')
-rw-r--r-- | serialize/anim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/anim.cpp b/serialize/anim.cpp index b9cfe975..f0c1eae0 100644 --- a/serialize/anim.cpp +++ b/serialize/anim.cpp @@ -37,7 +37,7 @@ void adl_serializer<floormat::anim_scale>::from_json(const json& j, floormat::an { fm_soft_assert(j.is_array()); fm_soft_assert(j.size() == 2); - String type = j[0]; + StringView type = j[0]; if (type == "factor"_s) { auto factor = (float)j[1]; |