summaryrefslogtreecommitdiffhomepage
path: root/loader/wall-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-22 11:50:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-22 11:50:55 +0100
commitbaf99d32bc58074f10cf194e43963f47fae34c08 (patch)
treea4e80d11a641054db48c8cb2b075d43f3b399b67 /loader/wall-atlas.cpp
parent2da189ce7435d44a83e37963e79ca0eb927f4e23 (diff)
a
Diffstat (limited to 'loader/wall-atlas.cpp')
-rw-r--r--loader/wall-atlas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/wall-atlas.cpp b/loader/wall-atlas.cpp
index 4ade3fbb..1784f4e2 100644
--- a/loader/wall-atlas.cpp
+++ b/loader/wall-atlas.cpp
@@ -38,7 +38,7 @@ const wall_info& loader_impl::wall_atlas(StringView name, StringView dir)
auto it = wall_atlas_map.find(path);
if (it == wall_atlas_map.end())
- fm_throw("no such wall atlas '{}'"_cf, fmt::string_view{path.data(), path.size()});
+ fm_throw("no such wall atlas '{}'"_cf, path);
fm_assert(it->second != nullptr);
if (!it->second->atlas)
{