MiniEngine/include/SDLWrapper/__Noncopyable.h

12 lines
268 B
C++
Raw Normal View History

2017-06-18 20:37:45 +08:00
#pragma once
2018-03-04 15:10:49 +08:00
namespace MiniEngine {
2017-06-18 20:37:45 +08:00
class NonCopyable
{
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator = (const NonCopyable&) = delete;
};
2018-03-04 15:10:49 +08:00
} /// End of namespace MiniEngine