Skip to content

Commit

Permalink
Merge pull request #15265 from ethereum/remove-swap-from-unique-vector
Browse files Browse the repository at this point in the history
Remove swap from UniqueVector
  • Loading branch information
ekpyron authored Jul 17, 2024
2 parents 9d90b39 + 3b85fb9 commit 91b1254
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libsolutil/CommonData.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,12 +380,6 @@ class UniqueVector
std::vector<T> m_contents;
};

template<typename T>
void swap(UniqueVector<T>& _lhs, UniqueVector<T>& _rhs)
{
std::swap(_lhs.contents(), _rhs.contents());
}

namespace detail
{

Expand Down

0 comments on commit 91b1254

Please sign in to comment.