From 36a08e45fc185d1f93b952f960edfadc28fce1c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 16 Jan 2023 04:43:55 +0100 Subject: compat/format: fix after fmtlib update --- serialize/tile-atlas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'serialize') 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 #include #include #include @@ -55,7 +54,7 @@ void adl_serializer>::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)); } } } -- cgit v1.2.3