1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-24 02:21:01 +03:00

💄 cleanup after #508

This commit is contained in:
Niels Lohmann
2017-03-16 19:02:05 +01:00
parent 773b33e016
commit cd43600e6f
3 changed files with 991 additions and 441 deletions

File diff suppressed because it is too large Load Diff

View File

@ -802,7 +802,8 @@ template <typename BasicJsonType, typename T, std::size_t N,
enable_if_t<not std::is_constructible<
typename BasicJsonType::string_t, T (&)[N]>::value,
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);
}