mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
shared_ptr.cpp: Remove std::swap specialization
This commit is contained in:
parent
b9179de288
commit
108846055b
@ -1122,21 +1122,6 @@ namespace atomic_wait
|
||||
}
|
||||
}
|
||||
|
||||
namespace std
|
||||
{
|
||||
template <typename T>
|
||||
void swap(stx::single_ptr<T>& lhs, stx::single_ptr<T>& rhs) noexcept
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void swap(stx::shared_ptr<T>& lhs, stx::shared_ptr<T>& rhs) noexcept
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
}
|
||||
}
|
||||
|
||||
using stx::null_ptr;
|
||||
using stx::single_ptr;
|
||||
using stx::shared_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user