summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/wall-atlas.cpp2
-rw-r--r--src/wall-atlas.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp
index 49b00311..d82aace3 100644
--- a/src/wall-atlas.cpp
+++ b/src/wall-atlas.cpp
@@ -196,7 +196,7 @@ auto wall_atlas::group(size_t dir, size_t tag) const -> const Group*
return {};
}
-auto wall_atlas::group(const Direction& dir, Group_ tag) const -> const Group*
+auto wall_atlas::group(const Direction& dir, Group_ tag) -> const Group*
{
fm_assert(tag < Group_::COUNT);
const auto memfn = dir.groups[(size_t)tag].member;
diff --git a/src/wall-atlas.hpp b/src/wall-atlas.hpp
index 2bc03dc0..9891791d 100644
--- a/src/wall-atlas.hpp
+++ b/src/wall-atlas.hpp
@@ -135,7 +135,7 @@ public:
const Group* group(Direction_ dir, Group_ group) const;
const Group* group(size_t dir, size_t group) const;
const Group* group(size_t dir, Group_ tag) const;
- const Group* group(const Direction& dir, Group_ group) const;
+ static const Group* group(const Direction& dir, Group_ group);
const Direction* direction(size_t dir) const;
const Direction* direction(Direction_ dir) const;
const Direction& calc_direction(Direction_ dir) const;