summaryrefslogtreecommitdiffhomepage
path: root/serialize/tile-atlas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'serialize/tile-atlas.cpp')
-rw-r--r--serialize/tile-atlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize/tile-atlas.cpp b/serialize/tile-atlas.cpp
index b56239c6..29a456dc 100644
--- a/serialize/tile-atlas.cpp
+++ b/serialize/tile-atlas.cpp
@@ -54,7 +54,7 @@ void adl_serializer<std::shared_ptr<tile_atlas>>::from_json(const json& j, std::
{
int m = p2 ? int(*p2) : -1;
const auto name = val->name();
- fm_throw("atlas {} wrong pass mode {} should be {}"_cf, StringView{name.data(), name.size()}, m, uint8_t(*p));
+ fm_throw("atlas {} wrong pass mode {} should be {}"_cf, name, m, uint8_t(*p));
}
}
}