Unverified Commit 47d154dd by gatopeich Committed by GitHub

Remove redundant comment

parent f9a1fec2
...@@ -15926,7 +15926,6 @@ struct ordered_map : std::vector<std::pair<const Key, T>, Allocator> ...@@ -15926,7 +15926,6 @@ struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
// Since we cannot move const Keys, re-construct them in place // Since we cannot move const Keys, re-construct them in place
for (auto next = it; ++next != this->end(); ++it) for (auto next = it; ++next != this->end(); ++it)
{ {
// *it = std::move(*next); // deleted
it->~value_type(); // Destroy but keep allocation it->~value_type(); // Destroy but keep allocation
new (&*it) value_type{std::move(*next)}; new (&*it) value_type{std::move(*next)};
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment