forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user