diff options
Diffstat (limited to 'src/demoserver.cpp')
| -rw-r--r-- | src/demoserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demoserver.cpp b/src/demoserver.cpp index 93eaad56..dace861f 100644 --- a/src/demoserver.cpp +++ b/src/demoserver.cpp @@ -361,7 +361,7 @@ void DemoServer::load_demo(QString filename) out.setCodec("UTF-8"); #endif out << p_demo_data.dequeue(); - for (const QString &line : qAsConst(p_demo_data)) + for (const QString &line : std::as_const(p_demo_data)) { out << "\n" << line; } @@ -442,6 +442,7 @@ void DemoServer::playback() } // Take the first arg as the command QString command = f_contents.takeFirst(); + Q_UNUSED(command); // this seems load-bearing. TODO: this should not be load-bearing int duration = 0; if (!f_contents.isEmpty()) { |
