forked from qt-creator/qt-creator
Core: Fix compile for gcc 4.7.3
Change-Id: I941179964158eb869299f068f8cd92a45f230967 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
b126179611
commit
19d20f4b70
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user