🚨 fix warnings
This commit is contained in:
parent
0b7af878e4
commit
2465302310
@ -4,6 +4,7 @@
|
|||||||
#include <iterator> // input_iterator_tag
|
#include <iterator> // input_iterator_tag
|
||||||
#include <string> // string, to_string
|
#include <string> // string, to_string
|
||||||
#include <tuple> // tuple_size, get, tuple_element
|
#include <tuple> // tuple_size, get, tuple_element
|
||||||
|
#include <utility> // move
|
||||||
|
|
||||||
#include <nlohmann/detail/meta/type_traits.hpp>
|
#include <nlohmann/detail/meta/type_traits.hpp>
|
||||||
#include <nlohmann/detail/value_t.hpp>
|
#include <nlohmann/detail/value_t.hpp>
|
||||||
@ -42,7 +43,9 @@ template<typename IteratorType> class iteration_proxy_value
|
|||||||
const string_type empty_str{};
|
const string_type empty_str{};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit iteration_proxy_value(IteratorType it) noexcept : anchor(std::move(it)) {}
|
explicit iteration_proxy_value(IteratorType it) noexcept
|
||||||
|
: anchor(std::move(it))
|
||||||
|
{}
|
||||||
|
|
||||||
/// dereference operator (needed for range-based for)
|
/// dereference operator (needed for range-based for)
|
||||||
iteration_proxy_value& operator*()
|
iteration_proxy_value& operator*()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user