Mercurial: Remove unused lambda captures

Change-Id: I5b308dc57b10624d140ed506a17ed41b3ec49491
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2024-02-14 11:49:30 +01:00
parent 52f9709300
commit 0d1831b462

View File

@@ -148,7 +148,7 @@ public:
Constants::FILELOG_ID,
VcsBase::Tr::tr("Mercurial File Log Editor"),
Constants::LOGAPP,
[this] { return new MercurialEditorWidget; },
[] { return new MercurialEditorWidget; },
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
}};
@@ -157,7 +157,7 @@ public:
Constants::ANNOTATELOG_ID,
VcsBase::Tr::tr("Mercurial Annotation Editor"),
Constants::ANNOTATEAPP,
[this] { return new MercurialEditorWidget; },
[] { return new MercurialEditorWidget; },
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
}};
@@ -166,7 +166,7 @@ public:
Constants::DIFFLOG_ID,
VcsBase::Tr::tr("Mercurial Diff Editor"),
Constants::DIFFAPP,
[this] { return new MercurialEditorWidget; },
[] { return new MercurialEditorWidget; },
std::bind(&MercurialPluginPrivate::vcsDescribe, this, _1, _2)
}};
};