MiniEngine/src/SDLWrapper/__Noncopyable.h

12 lines
257 B
C++
Raw Normal View History

2017-06-18 20:37:45 +08:00
#pragma once
2017-06-23 13:17:55 +08:00
#include "begin_code.h"
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-06-23 13:17:55 +08:00
#include "end_code.h"