mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
12 lines
257 B
C++
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"
|