kwin/libinput
Aleix Pol 1f5356e609 Fix build (with clang at least)
Summary:
No need to capture the variable as it's static. Also apparently wrong.
Used to get the following error message:
/home/apol/devel/frameworks/kwin/libinput/connection.cpp:103:56: error: 's_self' cannot be captured because it does not have automatic storage duration
    connect(s_self, &Connection::deviceAdded, s_self, [s_self](Device* device) {
                                                       ^
/home/apol/devel/frameworks/kwin/libinput/connection.cpp:45:25: note: 's_self' declared here
Connection *Connection::s_self = nullptr;
                        ^
/home/apol/devel/frameworks/kwin/libinput/connection.cpp:106:58: error: 's_self' cannot be captured because it does not have automatic storage duration
    connect(s_self, &Connection::deviceRemoved, s_self, [s_self](Device* device) {
                                                         ^
/home/apol/devel/frameworks/kwin/libinput/connection.cpp:45:25: note: 's_self' declared here
Connection *Connection::s_self = nullptr;
                        ^

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3703
2016-12-16 13:40:44 +01:00
..
connection.cpp Fix build (with clang at least) 2016-12-16 13:40:44 +01:00
connection.h [libinput] Add more support for pointer devices, in particular touchpads 2016-12-02 14:58:56 +01:00
context.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
context.h Move Udev into an own header and implementation 2015-04-24 12:03:19 +02:00
device.cpp [libinput] Minor coding style fix 2016-12-06 15:02:42 +01:00
device.h [libinput] Change unset of scroll method and acceleration profile 2016-12-06 13:45:54 +01:00
events.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
events.h Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
libinput_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
libinput_logging.h [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00