Skip to content

Commit

Permalink
styles: empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 27, 2023
1 parent 53d4443 commit c4dc05d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1452,8 +1452,8 @@ template <typename string_t>
template <typename value_t, template <typename _T> typename vector_t>
inline vector_t<value_t> basic_array<string_t>::to_vector() const
{

vector_t<value_t> result;

if constexpr (_to_vector_helper::has_emplace_back<vector_t<value_t>>::value) {
for (const auto& elem : _array_data) {
result.emplace_back(elem.template as<value_t>());
Expand All @@ -1464,6 +1464,7 @@ inline vector_t<value_t> basic_array<string_t>::to_vector() const
result.emplace(elem.template as<value_t>());
}
}

return result;
}

Expand Down

0 comments on commit c4dc05d

Please sign in to comment.