From ecae4ba252c9b78d6b4fa6d14d2e694b8f71306a Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Sun, 3 Nov 2013 22:43:22 -0800 Subject: Make clang happy (for Mavericks) --- move.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'move.h') diff --git a/move.h b/move.h index 6f9b28d..6ddca58 100644 --- a/move.h +++ b/move.h @@ -139,6 +139,9 @@ private: int m_scoreAddition; }; +// comparison based on action, then tiles, then horizontalness, then startrow, then endcol +bool operator<(const Quackle::Move &move1, const Quackle::Move &move2); + class MoveList : public vector { public: @@ -226,9 +229,6 @@ inline bool Move::isAlreadyOnBoard(Letter letter) // are equal bool operator==(const Quackle::Move &move1, const Quackle::Move &move2); -// comparison based on action, then tiles, then horizontalness, then startrow, then endcol -bool operator<(const Quackle::Move &move1, const Quackle::Move &move2); - UVOStream& operator<<(UVOStream& o, const Quackle::Move& m); UVOStream& operator<<(UVOStream& o, const Quackle::MoveList& moves); -- cgit v1.2.3