fix(templates): fix the problem that FNoncopyable etc. cannot be constructed
This commit is contained in:
parent
c70d22c85b
commit
3724188602
@ -8,12 +8,14 @@ NAMESPACE_MODULE_BEGIN(Utility)
|
||||
|
||||
struct FNoncopyable
|
||||
{
|
||||
FNoncopyable() = default;
|
||||
FNoncopyable(const FNoncopyable&) = delete;
|
||||
FNoncopyable& operator=(const FNoncopyable&) = delete;
|
||||
};
|
||||
|
||||
struct FNonmovable
|
||||
{
|
||||
FNonmovable() = default;
|
||||
FNonmovable(const FNonmovable&&) = delete;
|
||||
FNonmovable& operator=(const FNonmovable&&) = delete;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user