This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new e728d0a Extra braces for clang 5 / ubuntu 16.04 on array initialization (#7842) e728d0a is described below commit e728d0a2614b940821a1a401176b3a9612a5b5f1 Author: Bryan Call <bc...@apache.org> AuthorDate: Mon May 17 07:50:52 2021 -0700 Extra braces for clang 5 / ubuntu 16.04 on array initialization (#7842) --- src/tscore/Regex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tscore/Regex.cc b/src/tscore/Regex.cc index ea80116..1fe1e31 100644 --- a/src/tscore/Regex.cc +++ b/src/tscore/Regex.cc @@ -111,7 +111,7 @@ Regex::get_capture_count() bool Regex::exec(std::string_view const &str) { - std::array<int, DEFAULT_GROUP_COUNT * 3> ovector = {0}; + std::array<int, DEFAULT_GROUP_COUNT * 3> ovector = {{0}}; return this->exec(str, ovector.data(), ovector.size()); }