summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-16 04:43:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-01-16 04:44:20 +0100
commit36a08e45fc185d1f93b952f960edfadc28fce1c2 (patch)
treeb8ecc4fb6010826a11b9b80752caa44bbd9bd728 /serialize
parent61b0e7884a643381cca5c587a201e58bd4f1dd2b (diff)
compat/format: fix after fmtlib update
Diffstat (limited to 'serialize')
-rw-r--r--serialize/tile-atlas.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/serialize/tile-atlas.cpp b/serialize/tile-atlas.cpp
index cb58d1b4..068c1d9b 100644
--- a/serialize/tile-atlas.cpp
+++ b/serialize/tile-atlas.cpp
@@ -4,7 +4,6 @@
#include "serialize/magnum-vector2i.hpp"
#include "loader/loader.hpp"
#include "serialize/pass-mode.hpp"
-#include <string_view>
#include <Corrade/Containers/Optional.h>
#include <Corrade/Containers/String.h>
#include <nlohmann/json.hpp>
@@ -55,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, std::string_view{name.data(), name.size()}, m, std::uint8_t(*p));
+ fm_throw("atlas {} wrong pass mode {} should be {}"_cf, StringView{name.data(), name.size()}, m, std::uint8_t(*p));
}
}
}