diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-08 12:14:35 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-08 12:14:35 +0100 |
commit | 33a19e387c187577936999d604b09e616a9c8998 (patch) | |
tree | e52e9d473ddfcf71520830a4e3d651c06705838e | |
parent | e70bd100853827b9bafb21103f78ebaa74a2af20 (diff) |
a
-rw-r--r-- | serialize/wall-atlas.cpp | 1 | ||||
-rw-r--r-- | src/wall-atlas.cpp | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/serialize/wall-atlas.cpp b/serialize/wall-atlas.cpp index 2ce2e93c..81bb742a 100644 --- a/serialize/wall-atlas.cpp +++ b/serialize/wall-atlas.cpp @@ -16,7 +16,6 @@ using namespace std::string_view_literals; namespace { -constexpr auto none = (uint8_t)-1; constexpr StringView direction_names[] = { "n"_s, "e"_s, "s"_s, "w"_s, }; } // namespace diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp index 344404d3..94134523 100644 --- a/src/wall-atlas.cpp +++ b/src/wall-atlas.cpp @@ -6,19 +6,6 @@ namespace floormat { -namespace { - -inline uint8_t direction_count_(std::array<uint8_t, 4> rot_to_direction) -{ - uint8_t total = 0; - for (uint8_t x : rot_to_direction) - if (x != (uint8_t)-1) - total++; - return total; -} - -} // namespace - namespace Wall { } // namespace Wall |