MiniEngine/SDLWrapper/__Nonmoveable.h

14 lines
250 B
C++
Raw Normal View History

2017-07-01 14:48:58 +08:00
#pragma once
2017-07-31 00:18:10 +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;
};
2017-07-31 00:18:10 +08:00
} /// End of namespace MiniEngine