diff --git a/shared/src/traintastic/board/tilelocation.hpp b/shared/src/traintastic/board/tilelocation.hpp index c036a131..86645eb4 100644 --- a/shared/src/traintastic/board/tilelocation.hpp +++ b/shared/src/traintastic/board/tilelocation.hpp @@ -34,6 +34,11 @@ struct TileLocation { return x == other.x && y == other.y; } + + bool operator !=(const TileLocation& other) const + { + return x != other.x || y != other.y; + } }; struct TileLocationHash