summaryrefslogtreecommitdiff
path: root/move.h
diff options
context:
space:
mode:
authorMatt Liberty <matt.liberty@gmail.com>2013-11-03 22:43:22 -0800
committerMatt Liberty <matt.liberty@gmail.com>2013-11-03 22:43:22 -0800
commitecae4ba252c9b78d6b4fa6d14d2e694b8f71306a (patch)
treef2a8aaf923a222d223b0d4d86568864c802e2d76 /move.h
parent29ef933fda48f30a752e2dac2a8cb3f3d0f513b0 (diff)
Make clang happy (for Mavericks)
Diffstat (limited to 'move.h')
-rw-r--r--move.h6
1 files changed, 3 insertions, 3 deletions
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<Move>
{
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);