mirror of
https://github.com/Relintai/rcpp_fw_static.git
synced 2024-11-20 21:37:18 +01:00
16 lines
302 B
C++
16 lines
302 B
C++
#pragma once
|
|
|
|
namespace brynet { namespace base {
|
|
|
|
class NonCopyable
|
|
{
|
|
public:
|
|
NonCopyable(const NonCopyable&) = delete;
|
|
const NonCopyable& operator=(const NonCopyable&) = delete;
|
|
|
|
protected:
|
|
NonCopyable() = default;
|
|
~NonCopyable() = default;
|
|
};
|
|
|
|
} } |