From fcada78b3f0911dd510800a6bbd2eeceb9519f7b Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Thu, 11 Oct 2018 15:45:23 +0200 Subject: [PATCH] VCS: Remove trailing return type of lambda Change-Id: Iba1033ed5eaaf68815ac83a91a514845c0f2347a Reviewed-by: Orgad Shaneh --- src/plugins/vcsbase/vcscommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/vcsbase/vcscommand.cpp b/src/plugins/vcsbase/vcscommand.cpp index 4d00e53ee0a..54334559816 100644 --- a/src/plugins/vcsbase/vcscommand.cpp +++ b/src/plugins/vcsbase/vcscommand.cpp @@ -43,7 +43,7 @@ VcsCommand::VcsCommand(const QString &workingDirectory, Core::ShellCommand(workingDirectory, environment), m_preventRepositoryChanged(false) { - setOutputProxyFactory([this]() -> OutputProxy * { + setOutputProxyFactory([this] { auto proxy = new OutputProxy; VcsOutputWindow *outputWindow = VcsOutputWindow::instance();