From afecd168db41ee66b3e63c426a2e59ae577f0fda Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 12 Jan 2024 07:37:10 -0600 Subject: [PATCH] Fix compile for clang 3.6 which has uniform init problems. fixes #354 --- src/engine/mod_regex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;