Fix compilation on MSVC
This commit is contained in:
@@ -54,7 +54,9 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
StationID second;
|
StationID second;
|
||||||
};
|
};
|
||||||
|
#if OTTD_ALIGNMENT == 0 && (defined(__GNUC__) || defined(__clang__))
|
||||||
static_assert(sizeof(ShareEntry) == 6, "");
|
static_assert(sizeof(ShareEntry) == 6, "");
|
||||||
|
#endif
|
||||||
|
|
||||||
friend bool operator<(const ShareEntry &a, const ShareEntry &b) noexcept
|
friend bool operator<(const ShareEntry &a, const ShareEntry &b) noexcept
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user