1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

Remove redundant comment

This commit is contained in:
gatopeich
2020-07-11 00:34:02 +01:00
committed by GitHub
parent f62b4626be
commit f9a1fec272

View File

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