From 8db23056199c059e26c3cc6f804a4f3052ea03dd 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 a46fc9927e..80e1364b67 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;