forked from qt-creator/qt-creator
Compile fix with gcc 4.7.2
Looks like a compiler bug, but it's a supported environment. Change-Id: I73d67a74e1adbac6747cbc96e3fbd96eeee9556c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -186,10 +186,10 @@ bool CppToolsPlugin::initialize(const QStringList &arguments, QString *error)
|
||||
|
||||
Core::VariableManager::registerVariable("Cpp:LicenseTemplate",
|
||||
tr("The license template."),
|
||||
[]() { return CppToolsPlugin::licenseTemplate(); });
|
||||
[this]() { return CppToolsPlugin::licenseTemplate(); });
|
||||
Core::VariableManager::registerFileVariables("Cpp:LicenseTemplatePath",
|
||||
tr("The configured path to the license template."),
|
||||
[]() { return CppToolsPlugin::licenseTemplatePath().toString(); });
|
||||
[this]() { return CppToolsPlugin::licenseTemplatePath().toString(); });
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user