mirror of
https://github.com/laomms/wxhelper.git
synced 2024-12-23 03:39:21 +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 |