Remove redundant comment

This commit is contained in:
gatopeich 2020-07-11 00:34:12 +01:00 committed by GitHub
parent f9a1fec272
commit 47d154dd49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
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)};
}