diff --git a/src/engine/mod_regex.cpp b/src/engine/mod_regex.cpp index 0060a80b31..a46fc9927e 100644 --- a/src/engine/mod_regex.cpp +++ b/src/engine/mod_regex.cpp @@ -27,7 +27,7 @@ list_ref b2::regex_split( const std::tuple & 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;