wxhelper-new/inc/include/noncopyable.h

11 lines
236 B
C
Raw Normal View History

2024-06-16 13:17:24 +08:00
#ifndef BASE_NONCOPYABLE_H_
#define BASE_NONCOPYABLE_H_
class NonCopyable {
protected:
NonCopyable() {}
~NonCopyable() {}
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};
#endif