Skip to content

Commit 91b1254

Browse files
authored
Merge pull request #15265 from ethereum/remove-swap-from-unique-vector
Remove swap from UniqueVector
2 parents 9d90b39 + 3b85fb9 commit 91b1254

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libsolutil/CommonData.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,6 @@ class UniqueVector
380380
std::vector<T> m_contents;
381381
};
382382

383-
template<typename T>
384-
void swap(UniqueVector<T>& _lhs, UniqueVector<T>& _rhs)
385-
{
386-
std::swap(_lhs.contents(), _rhs.contents());
387-
}
388-
389383
namespace detail
390384
{
391385

0 commit comments

Comments
 (0)