diff --git a/src/mc/server/commands/CommandOrigin.h b/src/mc/server/commands/CommandOrigin.h index 0913da3a2d..e7d0c11812 100644 --- a/src/mc/server/commands/CommandOrigin.h +++ b/src/mc/server/commands/CommandOrigin.h @@ -1,6 +1,7 @@ #pragma once #include "mc/_HeaderOutputPredefine.h" +#include "mc/platform/UUID.h" // auto generated inclusion list #include "mc/common/SubClientId.h" @@ -34,11 +35,6 @@ class CommandOrigin { ::ll::TypedStorage<8, 16, ::mce::UUID> mUUID; // NOLINTEND -public: - // prevent constructor by default - CommandOrigin& operator=(CommandOrigin const&); - CommandOrigin(CommandOrigin const&); - public: // virtual functions // NOLINTBEGIN diff --git a/src/mc/server/commands/PlayerCommandOrigin.h b/src/mc/server/commands/PlayerCommandOrigin.h index 9583faa948..33e30b1e1d 100644 --- a/src/mc/server/commands/PlayerCommandOrigin.h +++ b/src/mc/server/commands/PlayerCommandOrigin.h @@ -37,12 +37,6 @@ class PlayerCommandOrigin : public ::CommandOrigin { PlayerCommandOrigin(::Level& level, ::ActorUniqueID playerId) : mPlayerId(playerId), mLevel(level) {} PlayerCommandOrigin(::Player& player) : mPlayerId(player.getOrCreateUniqueID()), mLevel(player.getLevel()) {} -public: - // prevent constructor by default - PlayerCommandOrigin& operator=(PlayerCommandOrigin const&); - PlayerCommandOrigin(PlayerCommandOrigin const&); - PlayerCommandOrigin(); - public: // virtual functions // NOLINTBEGIN