Commit b100d3bc authored by hjk's avatar hjk Committed by Nikolai Kosjar

Compile fix with gcc 4.7.2

Looks like a compiler bug, but it's a supported environment.

Change-Id: I73d67a74e1adbac6747cbc96e3fbd96eeee9556c
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 65c113bc
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment