summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-11-03 13:08:44 +1100
committerMaxime Coste <mawww@kakoune.org>2023-11-03 13:08:44 +1100
commit7577fa1b668ea81eb9b7b9af690a4161187129dd (patch)
treed73e2d1255d9efdec8762cb6f51e4bd765598d0d /src/normal.cc
parentc889c0329caad7890480c3e3103b49830b8cb7e3 (diff)
Use explicit target types for gather calls to bypass clang regression
Since clang-16 there has been a regression in the P0522R0 support. (Bug report at https://github.com/llvm/llvm-project/issue/63281) Closes #4892
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 1ce53158..69fc9285 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -998,7 +998,7 @@ void use_selection_as_search_pattern(Context& context, NormalParams params)
smart and is_bow(buffer, beg) ? "\\b" : "",
escape(buffer.string(beg, end), "^$\\.*+?()[]{}|", '\\'),
smart and is_eow(buffer, end) ? "\\b" : "");
- }) | gather<HashSet>();
+ }) | gather<HashSet<String>>();
String pattern = join(patterns, '|', false);
const char reg = to_lower(params.reg ? params.reg : '/');