Skip to content

Commit

Permalink
Remove swap from UniqueVector
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-matic committed Jul 17, 2024
1 parent e0ab0f2 commit dc0aec6
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 dc0aec6

Please sign in to comment.