2
0
mirror of https://github.com/boostorg/build.git synced 2026-01-19 04:02:14 +00:00

Fix compile for clang 3.6 which has uniform init problems.

fixes #354
This commit is contained in:
Rene Rivera
2024-01-12 07:37:10 -06:00
parent 82b627a0c0
commit afecd168db

View File

@@ -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;