From b7413384aafca679584df1e5e18dd7e6282ff4f3 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Wed, 17 Jun 2020 23:52:03 -0500 Subject: 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. --- move.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'move.cpp') diff --git a/move.cpp b/move.cpp index 349f7d0..9a023f4 100644 --- a/move.cpp +++ b/move.cpp @@ -145,6 +145,7 @@ UVString Move::xml() const break; case Place: + case PlaceError: { actionString = MARK_UV("place"); -- cgit v1.2.3