🚨 fixed two warnings
This commit is contained in:
parent
117c1d14fb
commit
45f5611d9b
2 changed files with 8 additions and 8 deletions
|
@ -148,13 +148,13 @@ auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decl
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
template <typename IteratorType>
|
template <typename IteratorType>
|
||||||
struct tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
|
class tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
|
||||||
: std::integral_constant<std::size_t, 2> {};
|
: public std::integral_constant<std::size_t, 2> {};
|
||||||
|
|
||||||
template <std::size_t N, typename IteratorType>
|
template <std::size_t N, typename IteratorType>
|
||||||
struct tuple_element <
|
class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
||||||
N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
using type = decltype(
|
using type = decltype(
|
||||||
get<N>(std::declval <
|
get<N>(std::declval <
|
||||||
::nlohmann::detail::iteration_proxy_value<IteratorType >> ()));
|
::nlohmann::detail::iteration_proxy_value<IteratorType >> ()));
|
||||||
|
|
|
@ -1796,13 +1796,13 @@ auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decl
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
template <typename IteratorType>
|
template <typename IteratorType>
|
||||||
struct tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
|
class tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
|
||||||
: std::integral_constant<std::size_t, 2> {};
|
: public std::integral_constant<std::size_t, 2> {};
|
||||||
|
|
||||||
template <std::size_t N, typename IteratorType>
|
template <std::size_t N, typename IteratorType>
|
||||||
struct tuple_element <
|
class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
||||||
N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
using type = decltype(
|
using type = decltype(
|
||||||
get<N>(std::declval <
|
get<N>(std::declval <
|
||||||
::nlohmann::detail::iteration_proxy_value<IteratorType >> ()));
|
::nlohmann::detail::iteration_proxy_value<IteratorType >> ()));
|
||||||
|
|
Loading…
Reference in a new issue