Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSizov committed May 2, 2023
1 parent 7b29360 commit e865e5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tower-defence/Field.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ class FieldClass {
}
};

FieldClass(const FieldClass& obj) = delete; // copy constructor deleted

public:
FieldClass& operator = (const FieldClass& obj) = delete; // "=" operator deleted
FieldClass& operator = (const FieldClass&& obj) = delete; // move constructor deleted

static FieldClass* getInstance(int rows, int cols) {

Expand Down

0 comments on commit e865e5f

Please sign in to comment.