From 108846055b25b4a5a35ce4bfad1210cfbf3e3cfe Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 20 Nov 2021 20:14:48 +0200 Subject: [PATCH] shared_ptr.cpp: Remove std::swap specialization --- rpcs3/util/shared_ptr.hpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/rpcs3/util/shared_ptr.hpp b/rpcs3/util/shared_ptr.hpp index a2672c02bd..dd515ab422 100644 --- a/rpcs3/util/shared_ptr.hpp +++ b/rpcs3/util/shared_ptr.hpp @@ -1122,21 +1122,6 @@ namespace atomic_wait } } -namespace std -{ - template - void swap(stx::single_ptr& lhs, stx::single_ptr& rhs) noexcept - { - lhs.swap(rhs); - } - - template - void swap(stx::shared_ptr& lhs, stx::shared_ptr& rhs) noexcept - { - lhs.swap(rhs); - } -} - using stx::null_ptr; using stx::single_ptr; using stx::shared_ptr;