diff options
| author | 2016-04-30 18:48:40 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:45 +0100 | |
| commit | 97ecdf6a1b7f95bc1b342b3eaf141cd460249680 (patch) | |
| tree | dfa139170f95eeda51f241580cc019ab0f4684d8 /src/modules/perl | |
| parent | Apply clang-tidy: modernize-use-default (diff) | |
| download | KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.gz KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.tar.bz2 KVIrc-97ecdf6a1b7f95bc1b342b3eaf141cd460249680.zip | |
Apply clang-tidy: modernize-loop-convert
Diffstat (limited to 'src/modules/perl')
| -rw-r--r-- | src/modules/perl/libkviperl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/perl/libkviperl.cpp b/src/modules/perl/libkviperl.cpp index c4016abdd..2284e7214 100644 --- a/src/modules/perl/libkviperl.cpp +++ b/src/modules/perl/libkviperl.cpp @@ -457,8 +457,8 @@ static bool perl_kvs_cmd_begin(KviKvsModuleCommandCall * c) if(!ex.lWarnings.isEmpty()) { - for(QStringList::Iterator it = ex.lWarnings.begin(); it != ex.lWarnings.end(); ++it) - c->warning(*it); + for(auto & lWarning : ex.lWarnings) + c->warning(lWarning); } if(!ex.bExitOk) |
