diff options
Diffstat (limited to 'examples/basic/src/interfaces/enemy_creator.hpp')
-rw-r--r-- | examples/basic/src/interfaces/enemy_creator.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/basic/src/interfaces/enemy_creator.hpp b/examples/basic/src/interfaces/enemy_creator.hpp index 820b636..2675fea 100644 --- a/examples/basic/src/interfaces/enemy_creator.hpp +++ b/examples/basic/src/interfaces/enemy_creator.hpp @@ -4,12 +4,13 @@ #include <memory> +// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IEnemyCreator { public: virtual ~IEnemyCreator() = default; - virtual std::unique_ptr<IEnemy> create_small_enemy() noexcept = 0; + virtual auto create_small_enemy() noexcept -> std::unique_ptr<IEnemy> = 0; - virtual std::unique_ptr<IEnemy> create_big_enemy() noexcept = 0; + virtual auto create_big_enemy() noexcept -> std::unique_ptr<IEnemy> = 0; }; |