MiniEngine/SDLWrapper/__Noncopyable.h

10 lines
211 B
C++

#pragma once
class NonCopyable
{
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator = (const NonCopyable&) = delete;
};