diff options
author | Laurent Montel <montel@kde.org> | 2021-08-28 18:05:30 +0200 |
---|---|---|
committer | Laurent Montel <montel@kde.org> | 2021-08-28 18:05:30 +0200 |
commit | dffdff73fa98a4fdebca38fb4a41938541ffb1c1 (patch) | |
tree | 7f1c9fb2c402eef2b7ecc90ec9d31cc506160b1e /src/kconfig_compiler/kconfig_compiler.cpp | |
parent | 3259a6e6530cb0526bf71733ba28015f481f056e (diff) | |
download | kconfig-dffdff73fa98a4fdebca38fb4a41938541ffb1c1.tar.gz kconfig-dffdff73fa98a4fdebca38fb4a41938541ffb1c1.tar.bz2 |
GIT_SILENT: we can use std::as_const directly
Diffstat (limited to 'src/kconfig_compiler/kconfig_compiler.cpp')
-rw-r--r-- | src/kconfig_compiler/kconfig_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp index 761e64fc..fb7e7a68 100644 --- a/src/kconfig_compiler/kconfig_compiler.cpp +++ b/src/kconfig_compiler/kconfig_compiler.cpp @@ -773,7 +773,7 @@ int main(int argc, char **argv) } // TODO: Move this to somewhere saner. - for (const auto &signal : qAsConst(parseResult.signalList)) { + for (const auto &signal : std::as_const(parseResult.signalList)) { parseResult.hasNonModifySignals |= !signal.modify; } |