mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
💄 cleanup after #508
This commit is contained in:
985
src/json.hpp
985
src/json.hpp
File diff suppressed because it is too large
Load Diff
@ -802,7 +802,8 @@ template <typename BasicJsonType, typename T, std::size_t N,
|
|||||||
enable_if_t<not std::is_constructible<
|
enable_if_t<not std::is_constructible<
|
||||||
typename BasicJsonType::string_t, T (&)[N]>::value,
|
typename BasicJsonType::string_t, T (&)[N]>::value,
|
||||||
int> = 0>
|
int> = 0>
|
||||||
void to_json(BasicJsonType &j, T (&arr)[N]) {
|
void to_json(BasicJsonType& j, T (&arr)[N])
|
||||||
|
{
|
||||||
external_constructor<value_t::array>::construct(j, arr);
|
external_constructor<value_t::array>::construct(j, arr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user