🚨 fix warnings

This commit is contained in:
Niels Lohmann 2021-01-29 23:00:30 +01:00
parent 0b7af878e4
commit 2465302310
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -4,6 +4,7 @@
#include <iterator> // input_iterator_tag
#include <string> // string, to_string
#include <tuple> // tuple_size, get, tuple_element
#include <utility> // move
#include <nlohmann/detail/meta/type_traits.hpp>
#include <nlohmann/detail/value_t.hpp>
@ -42,7 +43,9 @@ template<typename IteratorType> class iteration_proxy_value
const string_type empty_str{};
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)
iteration_proxy_value& operator*()