From f9a1fec272d2e169d3ee56e9480c9c78b085c369 Mon Sep 17 00:00:00 2001 From: gatopeich <7722268+gatopeich@users.noreply.github.com> Date: Sat, 11 Jul 2020 00:34:02 +0100 Subject: [PATCH] Remove redundant comment --- include/nlohmann/ordered_map.hpp | 1 - 1 file changed, 1 deletion(-) 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)}; }