1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Make sure the header-only function direction_valid is static

This commit is contained in:
Michał Janiszewski
2019-03-02 21:23:42 +01:00
parent f83fa88512
commit a2bfb77b4a

View File

@@ -169,7 +169,7 @@ typedef uint8_t Direction;
return dir ^ 2;
}
constexpr bool direction_valid(Direction dir)
[[maybe_unused]] static constexpr bool direction_valid(Direction dir)
{
return dir < 4;
}