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. --- quackleio/streamingreporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quackleio/streamingreporter.cpp') diff --git a/quackleio/streamingreporter.cpp b/quackleio/streamingreporter.cpp index 62ee576..5e6837d 100644 --- a/quackleio/streamingreporter.cpp +++ b/quackleio/streamingreporter.cpp @@ -41,7 +41,7 @@ void StreamingReporter::reportGame(const Quackle::Game &game, Quackle::ComputerP Quackle::Reporter::reportPosition((*it), computerPlayer, &subreport); // endl flushes the stream, which we want - stream << Util::uvStringToQString(subreport) << endl; + stream << Util::uvStringToQString(subreport) << m_endl; } UVString stats; -- cgit v1.2.3