Fix compilation on MSVC

This commit is contained in:
Jonathan G Rennison
2019-10-12 10:22:53 +01:00
parent 0876bca9b7
commit 18d51ccb80

View File

@@ -54,7 +54,9 @@ public:
#endif
StationID second;
};
#if OTTD_ALIGNMENT == 0 && (defined(__GNUC__) || defined(__clang__))
static_assert(sizeof(ShareEntry) == 6, "");
#endif
friend bool operator<(const ShareEntry &a, const ShareEntry &b) noexcept
{