From 7b3ba241ab3cfc77ac736dd6551e6c5f6d545adc Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 29 Jan 2021 23:00:44 +0100 Subject: [PATCH] :rotating_light: fix warnings --- single_include/nlohmann/json.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 7a8b9b533..cc9f2d6c0 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -3903,6 +3903,7 @@ constexpr const auto& from_json = detail::static_const::va #include // input_iterator_tag #include // string, to_string #include // tuple_size, get, tuple_element +#include // move // #include @@ -3943,7 +3944,9 @@ template 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*()