Remove unnecessary explicits

This commit is contained in:
Patricia Aas 2021-10-14 12:31:45 +02:00
parent 8f396d0545
commit cce98514a7
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ namespace pacman {
class Inky final : public Ghost {
public:
explicit Inky();
Inky();
void setTarget(GridPosition pacManPos, Direction pacManDir, GridPosition blinkyPos);
protected:

View File

@ -7,7 +7,7 @@ namespace pacman {
class Pellets {
public:
explicit Pellets();
Pellets();
GridPosition currentSprite() const {
return sprite;

View File

@ -6,7 +6,7 @@ namespace pacman {
class Pinky final : public Ghost {
public:
explicit Pinky();
Pinky();
void setTarget(GridPosition pacManPos, Direction pacManDir);
protected:

View File

@ -7,7 +7,7 @@ namespace pacman {
class SuperPellets {
public:
explicit SuperPellets();
SuperPellets();
GridPosition currentSprite() const {
return sprite;