mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
fixed_typemap.hpp: make it a bit fool-proof
Require objects to be non-copyable (move is still allowed).
This commit is contained in:
parent
004ebfdaee
commit
52fe86b56c
19 changed files with 121 additions and 57 deletions
|
@ -1665,6 +1665,12 @@ void spu_thread::cpu_task()
|
|||
|
||||
struct raw_spu_cleanup
|
||||
{
|
||||
raw_spu_cleanup() = default;
|
||||
|
||||
raw_spu_cleanup(const raw_spu_cleanup&) = delete;
|
||||
|
||||
raw_spu_cleanup& operator =(const raw_spu_cleanup&) = delete;
|
||||
|
||||
~raw_spu_cleanup()
|
||||
{
|
||||
std::memset(spu_thread::g_raw_spu_id, 0, sizeof(spu_thread::g_raw_spu_id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue