From dc0aec647d90f63af4cb4f351c5d42ce53cdea66 Mon Sep 17 00:00:00 2001 From: Nikola Matic Date: Wed, 17 Jul 2024 11:35:34 +0200 Subject: [PATCH] Remove swap from UniqueVector --- libsolutil/CommonData.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libsolutil/CommonData.h b/libsolutil/CommonData.h index c64b3913fc83..1a5451ef5191 100644 --- a/libsolutil/CommonData.h +++ b/libsolutil/CommonData.h @@ -380,12 +380,6 @@ class UniqueVector std::vector m_contents; }; -template -void swap(UniqueVector& _lhs, UniqueVector& _rhs) -{ - std::swap(_lhs.contents(), _rhs.contents()); -} - namespace detail {