mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-23 04:14:35 +08:00
update
This commit is contained in:
parent
1450016c69
commit
c123db97b7
@ -44,4 +44,10 @@ private: \
|
||||
return Singleton<Class>::getInstance(); \
|
||||
}
|
||||
|
||||
#define HIDE_CONSTRUCTOR(Class) \
|
||||
private: \
|
||||
Class() = default; \
|
||||
Class(const Class& other) = delete; \
|
||||
Class& operator=(const Class& other) = delete;
|
||||
|
||||
#endif // SINGLETON_H
|
||||
|
Loading…
Reference in New Issue
Block a user