summaryrefslogtreecommitdiff
path: root/move.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-03-11 11:03:15 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-07-21 02:02:55 -0700
commit4cd51c4a7233dd4334832cc05bfaa91221d98916 (patch)
tree299837fd06d78f36871d3746559394e307ad5433 /move.cpp
parentd30b4adb9646da26bace320a0abfaace6c05368e (diff)
Code cleanup.
Remove unneeded constructors and use member initializers for Move, MoveList.
Diffstat (limited to 'move.cpp')
-rw-r--r--move.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/move.cpp b/move.cpp
index bcec15a..349f7d0 100644
--- a/move.cpp
+++ b/move.cpp
@@ -24,11 +24,6 @@
using namespace Quackle;
-Move::Move()
- : score(0), isBingo(false), equity(0), win(0), possibleWin(0), action(Move::Pass), horizontal(false), startrow(0), startcol(0), m_isChallengedPhoney(false), m_scoreAddition(0)
-{
-}
-
bool operator==(const Move &move1, const Move &move2)
{
bool ret = false;
@@ -360,10 +355,6 @@ UVOStream& operator<<(UVOStream& o, const Quackle::Move& m)
//////////
-MoveList::MoveList()
-{
-}
-
bool MoveList::contains(const Move &move) const
{
const MoveList::const_iterator ourEnd(end());