forked from qt-creator/qt-creator
Mercurial: Remove unused lambda captures
Change-Id: I5b308dc57b10624d140ed506a17ed41b3ec49491 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -148,7 +148,7 @@ public:
|
|||||||
Constants::FILELOG_ID,
|
Constants::FILELOG_ID,
|
||||||
VcsBase::Tr::tr("Mercurial File Log Editor"),
|
VcsBase::Tr::tr("Mercurial File Log Editor"),
|
||||||
Constants::LOGAPP,
|
Constants::LOGAPP,
|
||||||
[this] { return new MercurialEditorWidget; },
|
[] { return new MercurialEditorWidget; },
|
||||||
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ public:
|
|||||||
Constants::ANNOTATELOG_ID,
|
Constants::ANNOTATELOG_ID,
|
||||||
VcsBase::Tr::tr("Mercurial Annotation Editor"),
|
VcsBase::Tr::tr("Mercurial Annotation Editor"),
|
||||||
Constants::ANNOTATEAPP,
|
Constants::ANNOTATEAPP,
|
||||||
[this] { return new MercurialEditorWidget; },
|
[] { return new MercurialEditorWidget; },
|
||||||
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
||||||
}};
|
}};
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ public:
|
|||||||
Constants::DIFFLOG_ID,
|
Constants::DIFFLOG_ID,
|
||||||
VcsBase::Tr::tr("Mercurial Diff Editor"),
|
VcsBase::Tr::tr("Mercurial Diff Editor"),
|
||||||
Constants::DIFFAPP,
|
Constants::DIFFAPP,
|
||||||
[this] { return new MercurialEditorWidget; },
|
[] { return new MercurialEditorWidget; },
|
||||||
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
|
||||||
}};
|
}};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user