Skip to content

Commit

Permalink
chore: remove extra declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Jan 24, 2025
1 parent 1571a8f commit 04a9177
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 29 deletions.
5 changes: 0 additions & 5 deletions src/mc/deps/ecs/WeakEntityRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ class WeakEntityRef {
::WeakRef<::EntityContext> mWeakEntity;
// NOLINTEND

public:
// prevent constructor by default
WeakEntityRef& operator=(WeakEntityRef const&);
WeakEntityRef(WeakEntityRef const&);

public:
// member functions
// NOLINTBEGIN
Expand Down
5 changes: 0 additions & 5 deletions src/mc/nbt/CompoundTag.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ class CompoundTag : public ::Tag {

size_t size() const noexcept { return mTags.size(); }

public:
// prevent constructor by default
CompoundTag& operator=(CompoundTag const&);
CompoundTag(CompoundTag const&);

public:
// virtual functions
// NOLINTBEGIN
Expand Down
6 changes: 0 additions & 6 deletions src/mc/network/packet/TextPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ class TextPacket : public ::Packet {
::std::string mPlatformId;
// NOLINTEND

public:
// prevent constructor by default
TextPacket(TextPacket const&);

public:
// virtual functions
// NOLINTBEGIN
Expand Down Expand Up @@ -77,8 +73,6 @@ class TextPacket : public ::Packet {
::std::string const& xuid,
::std::string const& platformId
);

MCAPI ::TextPacket& operator=(::TextPacket const&);
// NOLINTEND

public:
Expand Down
4 changes: 0 additions & 4 deletions src/mc/server/commands/CommandParameterData.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ class CommandParameterData {
::CommandParameterOption mOptions;
// NOLINTEND

public:
// prevent constructor by default
CommandParameterData& operator=(CommandParameterData const&);

public:
// member functions
// NOLINTBEGIN
Expand Down
5 changes: 0 additions & 5 deletions src/mc/server/commands/CommandRegistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,6 @@ class CommandRegistry {
::std::vector<::CommandRegistry::Symbol> paramsSymbol;
// NOLINTEND

public:
// prevent constructor by default
Overload& operator=(Overload const&);
Overload(Overload const&);

public:
// member functions
// NOLINTBEGIN
Expand Down
4 changes: 0 additions & 4 deletions src/mc/world/phys/HitResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ class HitResult {
bool mIndirectHit;
// NOLINTEND

public:
// prevent constructor by default
HitResult(HitResult const&);

public:
// member functions
// NOLINTBEGIN
Expand Down

0 comments on commit 04a9177

Please sign in to comment.