mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
shared_ptr.cpp: Remove std::swap specialization
This commit is contained in:
parent
b9179de288
commit
108846055b
1 changed files with 0 additions and 15 deletions
|
@ -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::null_ptr;
|
||||||
using stx::single_ptr;
|
using stx::single_ptr;
|
||||||
using stx::shared_ptr;
|
using stx::shared_ptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue