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/text_file_functions.cpp | |
| parent | 115c1ccd1dc64fceb8a165965ef172dd8812cf85 (diff) | |
use std::as_const instead of qAsConst
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 0b077b6c..1988482c 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -811,7 +811,7 @@ QStringList AOApplication::get_effects(QString p_char) std::sort(l_group_list.begin(), l_group_list.end(), [](const QString &lhs, const QString &rhs) { return lhs.toInt() < rhs.toInt(); }); - for (const QString &i_group : qAsConst(l_group_list)) + for (const QString &i_group : std::as_const(l_group_list)) { const QString l_key = i_group + "/name"; if (!l_effects_ini.contains(l_key)) |
