Skip to content

Commit

Permalink
Remove redundant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gatopeich authored Jul 10, 2020
1 parent f9a1fec commit 47d154d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)};
}
Expand Down

0 comments on commit 47d154d

Please sign in to comment.