From 8beea02ec014613b87ab447e13dd242606429b22 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Mon, 9 Jan 2023 17:17:18 -0700 Subject: MAINT: Fix some noisy clang suggestions. The suggestions looks like: ``` numpy/core/src/npysort/selection.cpp:426:39: warning suggest braces around initialization of subobject [-Wmissing-braces] arg_map{Tags::type_value, &introselect_noarg, ^~~~~~~~~~~~~~~~~~~~~~~~ { } ``` --- numpy/core/src/npysort/selection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy') diff --git a/numpy/core/src/npysort/selection.cpp b/numpy/core/src/npysort/selection.cpp index ebe188b71..450858df9 100644 --- a/numpy/core/src/npysort/selection.cpp +++ b/numpy/core/src/npysort/selection.cpp @@ -423,8 +423,8 @@ static constexpr std::array make_partition_map(npy::taglist) { return std::array{ - arg_map{Tags::type_value, &introselect_noarg, - &introselect_arg}...}; + arg_map{Tags::type_value, {&introselect_noarg}, + {&introselect_arg}}...}; } struct partition_t { -- cgit v1.2.1