diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/anim-atlas.cpp | 4 | ||||
-rw-r--r-- | src/precomp.hpp | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/anim-atlas.cpp b/src/anim-atlas.cpp index 2005526b..47490246 100644 --- a/src/anim-atlas.cpp +++ b/src/anim-atlas.cpp @@ -7,9 +7,7 @@ namespace floormat { -static constexpr std::array<char[3], (std::size_t)rotation::COUNT> name_array = { - "n", "ne", "e", "se", "s", "sw", "w", "nw", -}; +static constexpr const char* name_array[] = { "n", "ne", "e", "se", "s", "sw", "w", "nw", }; std::uint8_t anim_atlas::rotation_to_index(const anim_info& info, rotation r) noexcept { diff --git a/src/precomp.hpp b/src/precomp.hpp index 856d45fe..5d46092e 100644 --- a/src/precomp.hpp +++ b/src/precomp.hpp @@ -23,7 +23,6 @@ #include <algorithm> #include <utility> -#include <filesystem> #include <tuple> #include <array> |