Skip to content

Commit

Permalink
Fix Materialized<mixed> usage (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkornaukhov03 authored Dec 9, 2024
1 parent f4ef4e8 commit a2baed1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime-light/stdlib/string/regex-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ PCRE2_SIZE set_all_matches(const RegexInfo &regex_info, int64_t flags, mixed &al

if (pattern_order) [[likely]] {
for (auto &it : matches) {
auto &group{all_matches[it.get_key()]};
group.push_back(it.get_value());
all_matches[it.get_key()].push_back(it.get_value());
}
} else {
all_matches.push_back(matches);
Expand Down

0 comments on commit a2baed1

Please sign in to comment.