From cce98514a794a1601713ca1f98b484167c92873c Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Thu, 14 Oct 2021 12:31:45 +0200 Subject: [PATCH] Remove unnecessary explicits --- lib/include/Inky.hpp | 2 +- lib/include/Pellets.hpp | 2 +- lib/include/Pinky.hpp | 2 +- lib/include/SuperPellets.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/include/Inky.hpp b/lib/include/Inky.hpp index ba30914..9db37d9 100644 --- a/lib/include/Inky.hpp +++ b/lib/include/Inky.hpp @@ -6,7 +6,7 @@ namespace pacman { class Inky final : public Ghost { public: - explicit Inky(); + Inky(); void setTarget(GridPosition pacManPos, Direction pacManDir, GridPosition blinkyPos); protected: diff --git a/lib/include/Pellets.hpp b/lib/include/Pellets.hpp index d89fbf0..e885a48 100644 --- a/lib/include/Pellets.hpp +++ b/lib/include/Pellets.hpp @@ -7,7 +7,7 @@ namespace pacman { class Pellets { public: - explicit Pellets(); + Pellets(); GridPosition currentSprite() const { return sprite; diff --git a/lib/include/Pinky.hpp b/lib/include/Pinky.hpp index 4bacd66..73e0f56 100644 --- a/lib/include/Pinky.hpp +++ b/lib/include/Pinky.hpp @@ -6,7 +6,7 @@ namespace pacman { class Pinky final : public Ghost { public: - explicit Pinky(); + Pinky(); void setTarget(GridPosition pacManPos, Direction pacManDir); protected: diff --git a/lib/include/SuperPellets.hpp b/lib/include/SuperPellets.hpp index 9edce7a..f4174c7 100644 --- a/lib/include/SuperPellets.hpp +++ b/lib/include/SuperPellets.hpp @@ -7,7 +7,7 @@ namespace pacman { class SuperPellets { public: - explicit SuperPellets(); + SuperPellets(); GridPosition currentSprite() const { return sprite;