mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
Add Nonmoveable
This commit is contained in:
parent
2d0b1b77a8
commit
17f12ecc2f
9
SDLWrapper/__Nonmoveable.h
Normal file
9
SDLWrapper/__Nonmoveable.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
#include "begin_code.h"
|
||||
class NonMoveable
|
||||
{
|
||||
public:
|
||||
NonMoveable(NonMoveable&&) =delete;
|
||||
NonMoveable& operator = (NonMoveable&&)=delete;
|
||||
};
|
||||
#include "end_code.h"
|
Loading…
Reference in New Issue
Block a user