1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-19 17:03:16 +03:00

Fixing CI errors.

This commit is contained in:
Anthony VH
2021-03-24 23:33:21 +01:00
parent 8e79917d32
commit 2b865131d8
3 changed files with 3 additions and 3 deletions

View File

@ -3991,7 +3991,7 @@ template < typename BasicJsonType, typename T, std::size_t... Idx >
std::array<T, sizeof...(Idx)> from_json_inplace_array_impl(BasicJsonType&& j,
identity_tag<std::array<T, sizeof...(Idx)>> /*unused*/, index_sequence<Idx...> /*unused*/)
{
return { std::forward<BasicJsonType>(j).at(Idx).template get<T>()... };
return { { std::forward<BasicJsonType>(j).at(Idx).template get<T>()... } };
}
template < typename BasicJsonType, typename T, std::size_t N >