summaryrefslogtreecommitdiffhomepage
path: root/editor/wall-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/wall-editor.cpp')
-rw-r--r--editor/wall-editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/wall-editor.cpp b/editor/wall-editor.cpp
index 99d47643..57cdb8ed 100644
--- a/editor/wall-editor.cpp
+++ b/editor/wall-editor.cpp
@@ -1,4 +1,5 @@
#include "wall-editor.hpp"
+#include "compat/array-size.hpp"
#include "src/wall-defs.hpp"
#include "src/wall-atlas.hpp"
#include "src/world.hpp"
@@ -18,7 +19,7 @@ constexpr inline rot_pair rot_map[] = {
{ rotation::N, Direction_::N },
{ rotation::W, Direction_::W },
};
-static_assert(std::size(rot_map) == Direction_COUNT);
+static_assert(array_size(rot_map) == Direction_COUNT);
constexpr rotation dir_to_rot(Direction_ D)
{