MiniEngine/SDLWrapper/__Noncopyable.h

10 lines
211 B
C
Raw Normal View History

2017-06-18 20:37:45 +08:00
#pragma once
class NonCopyable
{
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator = (const NonCopyable&) = delete;
};