summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
Diffstat (limited to 'serialize')
-rw-r--r--serialize/anim.cpp2
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];