diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-11-03 13:08:44 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-11-03 13:08:44 +1100 |
| commit | 7577fa1b668ea81eb9b7b9af690a4161187129dd (patch) | |
| tree | d73e2d1255d9efdec8762cb6f51e4bd765598d0d /src/normal.cc | |
| parent | c889c0329caad7890480c3e3103b49830b8cb7e3 (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.cc | 2 |
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 : '/'); |
