[kcms/touchpad] Fix warning 'returning reference to temporary'
ClosedPublic

Authored by cfeck on Jun 22 2017, 12:24 AM.

Details

Summary

Our APIs still should not declare reference results for implicitly shared objects.

This is not a problem with the current backends, because they just return a reference to their member data. It is a problem in the virtual base, though.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cfeck created this revision.Jun 22 2017, 12:24 AM
Restricted Application added a subscriber: plasma-devel. · View Herald TranscriptJun 22 2017, 12:24 AM
davidedmundson accepted this revision.Jun 22 2017, 12:56 AM
This revision is now accepted and ready to land.Jun 22 2017, 12:56 AM
This revision was automatically updated to reflect the committed changes.