MiniEngine/SDLWrapper/__Noncopyable.h

14 lines
270 B
C++
Raw Normal View History

2017-06-18 20:37:45 +08:00
#pragma once
2017-07-31 00:18:10 +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;
};
2017-07-31 00:18:10 +08:00
} /// End of namespace MiniEngine