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:
parent
035c99029e
commit
c1c028362e
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue