mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 17:17:42 +03:00
Lambda captures clean up, plus other minor clean ups.
This commit is contained in:
@@ -93,7 +93,7 @@ void CommandPalette::asyncFuzzyMatch( const std::string& match, const size_t& ma
|
||||
if ( !mCurModel )
|
||||
return;
|
||||
|
||||
mPool->run( [&, match, max, res]() {
|
||||
mPool->run( [this, match, max, res]() {
|
||||
const std::vector<std::vector<std::string>>& cmdPalette =
|
||||
mCurModel.get() == mBaseModel.get() ? mCommandPalette : mCommandPaletteEditor;
|
||||
res( fuzzyMatch( cmdPalette, match, max ) );
|
||||
|
||||
Reference in New Issue
Block a user