diff options
| author | Maxime Coste <mawww@kakoune.org> | 2025-06-30 21:06:13 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2025-06-30 21:06:13 +1000 |
| commit | 0b820c73b0139b7f9bbad748c028b7b8f452ed4a (patch) | |
| tree | 280e60ab34c039c9555ea608f3a8b67288c4b2c2 | |
| parent | cfa40b71819cb65a7e73f81eef1347b25933bbb1 (diff) | |
Remove unused capture mode
| -rw-r--r-- | src/ranges.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranges.hh b/src/ranges.hh index 312c9af5..f1eaffa3 100644 --- a/src/ranges.hh +++ b/src/ranges.hh @@ -636,7 +636,7 @@ template<typename ExceptionType, size_t size, bool exact_size = true> auto static_gather() { return []<size_t... Indexes>(std::index_sequence<Indexes...>) { - return ViewFactory{[=] (auto&& range) { + return ViewFactory{[] (auto&& range) { using std::begin; using std::end; auto it = begin(range), end_it = end(range); size_t i = 0; |
