systemEnvironment(): the loop was iterating over a temporary; hold the temporary in a local const auto variable and use ranged-for. runCommand(): the container is a const&, the loop doesn't change the container and the containers the method is called on aren't changed during iteration. Task-number: QTBUG-115839 Change-Id: I6687e5ff64ff8c2fa26e34abf4044b98718e65d4 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> |
||
|---|---|---|
| .. | ||
| testdata | ||
| .gitignore | ||
| CMakeLists.txt | ||
| testcompiler.cpp | ||
| testcompiler.h | ||
| tst_qmake.cpp | ||