Skip to content

Commit

Permalink
Fix compile for clang 3.6 which has uniform init problems.
Browse files Browse the repository at this point in the history
fixes #354
  • Loading branch information
grafikrobot committed Jan 12, 2024
1 parent 82b627a commit afecd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/mod_regex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ list_ref b2::regex_split(
const std::tuple<value_ref, value_ref> & string_separator)
{
list_ref result;
string_t string { std::get<0>(string_separator) };
string_t string(std::get<0>(string_separator));
auto re = program(std::get<1>(string_separator)->str());
auto pos = string.c_str();
auto prev = pos;
Expand Down

0 comments on commit afecd16

Please sign in to comment.