diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-11 01:45:28 -0600 |
|---|---|---|
| committer | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2025-01-11 01:45:28 -0600 |
| commit | 4dae73c848bba1e44abf5a37d41034ded25cf28a (patch) | |
| tree | 886200422f94d81563b3a3359e05858a7d7be078 /src/demoserver.cpp | |
| parent | 115c1ccd1dc64fceb8a165965ef172dd8812cf85 (diff) | |
use std::as_const instead of qAsConst
Diffstat (limited to 'src/demoserver.cpp')
| -rw-r--r-- | src/demoserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demoserver.cpp b/src/demoserver.cpp index 93eaad56..c8c8c8b9 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; } |
