summaryrefslogtreecommitdiff
path: root/move.h
diff options
context:
space:
mode:
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);