Vcs: Fix compilation for gcc 4.7.3

Introduced with b5090ddde4

Change-Id: Iab60896cc27e9b9403c68aafe6fec9c4ed47b60d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2015-05-05 08:38:33 +02:00
parent eec0a03212
commit 935316674c

View File

@@ -60,7 +60,7 @@ VcsCommand::VcsCommand(const QString &workingDirectory,
Core::ShellCommand(workingDirectory, environment), Core::ShellCommand(workingDirectory, environment),
m_preventRepositoryChanged(false) m_preventRepositoryChanged(false)
{ {
setOutputProxyFactory([]() -> Utils::OutputProxy * { setOutputProxyFactory([this]() -> Utils::OutputProxy * {
auto proxy = new Utils::OutputProxy; auto proxy = new Utils::OutputProxy;
VcsOutputWindow *outputWindow = VcsOutputWindow::instance(); VcsOutputWindow *outputWindow = VcsOutputWindow::instance();