KCalCore : Clang-Tidy performance-unnecessary-copy-init fixes
ClosedPublic

Authored by winterz on May 4 2019, 4:21 PM.

Details

Summary

fixed unnecessary copy initialization , found by clang-tidy

Test Plan

make test still works

Diff Detail

Repository
R172 KCalendar Core
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
winterz created this revision.May 4 2019, 4:21 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMay 4 2019, 4:21 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
winterz requested review of this revision.May 4 2019, 4:21 PM
vkrause accepted this revision.May 5 2019, 7:39 AM

Looks safe to me, the const ref changes only seem to refer to containers that aren't changed afterwards.

This revision is now accepted and ready to land.May 5 2019, 7:39 AM
This revision was automatically updated to reflect the committed changes.