From 66ca53466f70d566644a8d12aa24055105c2977b Mon Sep 17 00:00:00 2001 From: fsub <31548809+fsub@users.noreply.github.com> Date: Wed, 22 Nov 2017 18:35:40 +0100 Subject: Remove unused lambda captures This eliminates some warnings emitted by clang++. --- src/insert_completer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/insert_completer.cc') diff --git a/src/insert_completer.cc b/src/insert_completer.cc index 518216a3..d8730f70 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -463,7 +463,7 @@ bool InsertCompleter::setup_ifn() try_complete(complete_filename)) return true; if (completer.mode == InsertCompleterDesc::Option and - try_complete([&,this](const SelectionList& sels, const OptionManager& options) { + try_complete([&](const SelectionList& sels, const OptionManager& options) { return complete_option(sels, options, *completer.param); })) return true; -- cgit v1.2.3