Const'ify variable when possible

2 jobs for master in 60 minutes and 8 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
failed build_clazy_clang_tidy #66649

01:00:08

passed linux kf5-qt5 qt5.12 #66648

00:41:44

0.0%
 
Name Stage Failure
failed
build_clazy_clang_tidy Build The script exceeded the maximum execution time set for the job
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/build/korganizer/emailaddressselectionldapdialog/emailaddressselectionldapdialogplugin_autogen/mocs_compilation.cpp
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/build/kmail/plugins/antispamplugin/kmail_antispamplugin_autogen/mocs_compilation.cpp
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/korganizer/plugins/picoftheday/picoftheday.cpp
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/korganizer/emailaddressselectionldapdialog/emailaddressselectionldapdialog.cpp
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/build/kmail/plugins/antispamplugin/autotests/antispamplugininterfacetest_autogen/mocs_compilation.cpp
clang-tidy -p=/builds/pim/kdepim-addons/build /builds/pim/kdepim-addons/kmail/plugins/antispamplugin/antispamplugininterface.cpp
Uploading artifacts for failed job
Pulling docker image gitlab/gitlab-runner-helper:x86_64-738bbe5a ...
ERROR: Job failed: execution took longer than 1h0m0s seconds