diff options
author | John Fultz <jfultz@wolfram.com> | 2020-06-17 23:52:03 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2020-06-17 23:52:03 -0500 |
commit | b7413384aafca679584df1e5e18dd7e6282ff4f3 (patch) | |
tree | 65e5e434fc0dcc7e2dc51520a659219a575bbc68 /quackleio/streamingreporter.cpp | |
parent | 61aa7d337a045759e06803c89b5f364ca4ed26b1 (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 'quackleio/streamingreporter.cpp')
-rw-r--r-- | quackleio/streamingreporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |