mirror of
https://github.com/laomms/wxhelper.git
synced 2024-12-23 15:29:28 +08:00
11 lines
236 B
C
11 lines
236 B
C
|
#ifndef BASE_NONCOPYABLE_H_
|
||
|
#define BASE_NONCOPYABLE_H_
|
||
|
class NonCopyable {
|
||
|
protected:
|
||
|
NonCopyable() {}
|
||
|
~NonCopyable() {}
|
||
|
NonCopyable(const NonCopyable&) = delete;
|
||
|
NonCopyable& operator=(const NonCopyable&) = delete;
|
||
|
};
|
||
|
|
||
|
#endif
|