🎨 cleanup after #1228
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -218,8 +218,8 @@ template <typename BasicJsonType, typename CompatibleArrayType,
|
|||||||
|
|
||||||
auto from_json(const BasicJsonType& j, CompatibleArrayType& arr)
|
auto from_json(const BasicJsonType& j, CompatibleArrayType& arr)
|
||||||
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
|
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
|
||||||
j.template get<typename CompatibleArrayType::value_type>(),
|
j.template get<typename CompatibleArrayType::value_type>(),
|
||||||
void())
|
void())
|
||||||
{
|
{
|
||||||
if (JSON_UNLIKELY(not j.is_array()))
|
if (JSON_UNLIKELY(not j.is_array()))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1232,8 +1232,8 @@ template <typename BasicJsonType, typename CompatibleArrayType,
|
|||||||
|
|
||||||
auto from_json(const BasicJsonType& j, CompatibleArrayType& arr)
|
auto from_json(const BasicJsonType& j, CompatibleArrayType& arr)
|
||||||
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
|
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
|
||||||
j.template get<typename CompatibleArrayType::value_type>(),
|
j.template get<typename CompatibleArrayType::value_type>(),
|
||||||
void())
|
void())
|
||||||
{
|
{
|
||||||
if (JSON_UNLIKELY(not j.is_array()))
|
if (JSON_UNLIKELY(not j.is_array()))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user