MiniEngine/SDLWrapper/__Nonmoveable.h

12 lines
237 B
C
Raw Normal View History

2017-07-01 14:48:58 +08:00
#pragma once
#include "begin_code.h"
class NonMoveable
{
public:
2017-07-01 15:26:52 +08:00
NonMoveable()=default;
~NonMoveable()=default;
2017-07-01 14:48:58 +08:00
NonMoveable(NonMoveable&&) =delete;
NonMoveable& operator = (NonMoveable&&)=delete;
};
#include "end_code.h"