summaryrefslogtreecommitdiff
path: root/src/ranges.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2025-06-30 21:06:13 +1000
committerMaxime Coste <mawww@kakoune.org>2025-06-30 21:06:13 +1000
commit0b820c73b0139b7f9bbad748c028b7b8f452ed4a (patch)
tree280e60ab34c039c9555ea608f3a8b67288c4b2c2 /src/ranges.hh
parentcfa40b71819cb65a7e73f81eef1347b25933bbb1 (diff)
Remove unused capture mode
Diffstat (limited to 'src/ranges.hh')
-rw-r--r--src/ranges.hh2
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;