fix(templates): fix the problem that FNoncopyable etc. cannot be constructed

This commit is contained in:
Redstone1024 committed 2022-02-03 22:25:02 +08:00
1 parent c70d22c85b
commit 3724188602
1 file changed
+2
@@ -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;
};