From 19d20f4b70380aad1366c7a6e7f65b1712b07ff0 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 17 Sep 2014 07:53:17 +0200 Subject: [PATCH] Core: Fix compile for gcc 4.7.3 Change-Id: I941179964158eb869299f068f8cd92a45f230967 Reviewed-by: Tobias Hunger --- src/plugins/coreplugin/jsexpander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/jsexpander.cpp b/src/plugins/coreplugin/jsexpander.cpp index 0ddbfbeb50d..458c1696a17 100644 --- a/src/plugins/coreplugin/jsexpander.cpp +++ b/src/plugins/coreplugin/jsexpander.cpp @@ -88,7 +88,7 @@ JsExpander::JsExpander() QCoreApplication::translate("Core::JsExpander", "Evaluate simple Javascript statements.\n" "The statements may not contain '{' nor '}' characters."), - [](QString in) -> QString { + [this](QString in) -> QString { QString errorMessage; QString result = JsExpander::evaluate(in, &errorMessage); if (!errorMessage.isEmpty()) {