diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp index 29c52016..105f0167 100644 --- a/include/nlohmann/ordered_map.hpp +++ b/include/nlohmann/ordered_map.hpp @@ -57,7 +57,6 @@ struct ordered_map : std::vector, Allocator> // Since we cannot move const Keys, re-construct them in place for (auto next = it; ++next != this->end(); ++it) { - // *it = std::move(*next); // deleted it->~value_type(); // Destroy but keep allocation new (&*it) value_type{std::move(*next)}; }