MiniEngine/SDLWrapper/__Noncopyable.h
2017-06-23 13:18:00 +08:00

12 lines
257 B
C++

#pragma once
#include "begin_code.h"
class NonCopyable
{
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator = (const NonCopyable&) = delete;
};
#include "end_code.h"