D6332: [kcms/touchpad] Fix warning 'returning reference to temporary'
Christoph Feck
noreply at phabricator.kde.org
Thu Jun 22 00:24:27 UTC 2017
cfeck created this revision.
cfeck added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION 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.
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D6332
AFFECTED FILES
kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h
kcms/touchpad/src/backends/x11/xlibbackend.h
kcms/touchpad/src/touchpadbackend.h
To: cfeck, #plasma, subdiff, knambiar
Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170622/3a7793f4/attachment-0001.html>
More information about the Plasma-devel
mailing list