summaryrefslogtreecommitdiff
path: root/reporter.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2020-06-17 23:52:03 -0500
committerJohn Fultz <jfultz@wolfram.com>2020-06-17 23:52:03 -0500
commitb7413384aafca679584df1e5e18dd7e6282ff4f3 (patch)
tree65e5e434fc0dcc7e2dc51520a659219a575bbc68 /reporter.cpp
parent61aa7d337a045759e06803c89b5f364ca4ed26b1 (diff)
Xcode compiler warnings.
* Replace std::random_shuffle() with std::shuffle(). * Populate switch statements which were checking the Move enums, but not Move::PlaceError. * endl -> Qt::endl for QTextStream usage. * QString::SkipEmptyParts -> Qt::SkipEmptyParts * QLabel::pixmap() now takes Qt::ReturnByValue * Use QElapsedTimer where appropriate.
Diffstat (limited to 'reporter.cpp')
-rw-r--r--reporter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/reporter.cpp b/reporter.cpp
index 4b13161..92435d6 100644
--- a/reporter.cpp
+++ b/reporter.cpp
@@ -152,6 +152,7 @@ void Reporter::reportPosition(const GamePosition &position, ComputerPlayer *comp
switch ((*it).action)
{
case Move::Place:
+ case Move::PlaceError:
s << (*it).positionString();
break;