summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-18 01:45:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-19 14:32:18 +0100
commit151e6911a8aa56749edbbf0c15ab04752d96c2f3 (patch)
tree06fcf3d6551d1945b5717458aa09222c947ede04 /serialize
parente77dc91b5d3e6a5181776a81cee2c3164c7b3cc9 (diff)
ccc
Diffstat (limited to 'serialize')
-rw-r--r--serialize/wall-atlas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/serialize/wall-atlas.cpp b/serialize/wall-atlas.cpp
index 3e120bb5..8e9ba21b 100644
--- a/serialize/wall-atlas.cpp
+++ b/serialize/wall-atlas.cpp
@@ -228,9 +228,9 @@ Group read_group_metadata(const json& jgroup)
Direction read_direction_metadata(const json& jroot, Direction_ dir)
{
- const auto s_ = direction_index_to_name((size_t)dir);
- fm_assert(s_.size() == 1);
- std::string_view s = {s_.data(), s_.size()};
+ const auto sʹ = direction_index_to_name((size_t)dir);
+ fm_assert(sʹ.size() == 1);
+ std::string_view s = {sʹ.data(), sʹ.size()};
fm_assert(s.size() == 1);
if (!jroot.contains(s))
return {};