Fix clang build of fwdwall.h

Make WALL_IS_DOORWAY_FLAG::operator| const for C++14 conformance.  C++11
makes operator| implicitly const.  C++14 does not.
This commit is contained in:
Kp 2015-01-29 04:27:36 +00:00
parent 035c99029e
commit c1c028362e

View file

@ -84,7 +84,7 @@ struct WALL_IS_DOORWAY_FLAG
{
constexpr operator unsigned() const { return value; }
template <unsigned F2>
constexpr WALL_IS_DOORWAY_FLAG<value | F2> operator|(WALL_IS_DOORWAY_FLAG<F2>)
constexpr WALL_IS_DOORWAY_FLAG<value | F2> operator|(WALL_IS_DOORWAY_FLAG<F2>) const
{
return {};
}