Build fix for clang-5.0
qkmsdevice.cpp:737:40: error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture] Change-Id: I90f0281baeb7bd8216d62515e4b087070c98c235 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
0e1c9a34c2
commit
1798f0aa37
@ -736,7 +736,7 @@ void QKmsDevice::discoverPlanes()
|
||||
continue;
|
||||
}
|
||||
|
||||
enumerateProperties(objProps, [this, &plane](drmModePropertyPtr prop, quint64 value) {
|
||||
enumerateProperties(objProps, [&plane](drmModePropertyPtr prop, quint64 value) {
|
||||
if (!strcmp(prop->name, "type")) {
|
||||
plane.type = QKmsPlane::Type(value);
|
||||
} else if (!strcmp(prop->name, "rotation")) {
|
||||
|
Loading…
Reference in New Issue
Block a user