From 1798f0aa37092ccf3d68c2d4cdb760f18b08032b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= Date: Thu, 12 Oct 2017 09:14:45 +0200 Subject: [PATCH] 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 --- src/platformsupport/kmsconvenience/qkmsdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platformsupport/kmsconvenience/qkmsdevice.cpp b/src/platformsupport/kmsconvenience/qkmsdevice.cpp index c26353b763..cff607ebe4 100644 --- a/src/platformsupport/kmsconvenience/qkmsdevice.cpp +++ b/src/platformsupport/kmsconvenience/qkmsdevice.cpp @@ -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")) {