Remove obsolete operator-(wall *, array<wall, N> &)

This commit is contained in:
Kp 2016-11-26 22:51:49 +00:00
parent 329ff67718
commit 6226e5fbbf

View file

@ -183,11 +183,6 @@ struct wclip : public prohibit_void_ptr<wclip>
array<char, 13> filename;
};
static inline ssize_t operator-(wall *w, array<wall, MAX_WALLS> &W)
{
return w - static_cast<wall *>(&*W.begin());
}
static inline WALL_IS_DOORWAY_result_t WALL_IS_DOORWAY(const vcsegptr_t seg, const uint_fast32_t side)
{
const auto child = seg->children[side];