Remove redundant comment
This commit is contained in:
parent
f9a1fec272
commit
47d154dd49
1 changed files with 0 additions and 1 deletions
|
@ -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)};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue