MiniEngine/include/SDLWrapper/__Nonmoveable.h

12 lines
248 B
C++
Raw Normal View History

2017-07-01 14:48:58 +08:00
#pragma once
2018-03-04 15:10:49 +08:00
namespace MiniEngine {
2017-07-01 14:48:58 +08:00
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;
};
2018-03-04 15:10:49 +08:00
} /// End of namespace MiniEngine