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
|
struct FNoncopyable
|
||||||
{
|
{
|
||||||
|
FNoncopyable() = default;
|
||||||
FNoncopyable(const FNoncopyable&) = delete;
|
FNoncopyable(const FNoncopyable&) = delete;
|
||||||
FNoncopyable& operator=(const FNoncopyable&) = delete;
|
FNoncopyable& operator=(const FNoncopyable&) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FNonmovable
|
struct FNonmovable
|
||||||
{
|
{
|
||||||
|
FNonmovable() = default;
|
||||||
FNonmovable(const FNonmovable&&) = delete;
|
FNonmovable(const FNonmovable&&) = delete;
|
||||||
FNonmovable& operator=(const FNonmovable&&) = delete;
|
FNonmovable& operator=(const FNonmovable&&) = delete;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user