aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/enemy_creator.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-09 17:10:32 +0200
committerHampusM <hampus@hampusmat.com>2022-06-09 17:10:32 +0200
commita5d218fd1a7e842b7ea4ac7809b0ba89856a5205 (patch)
tree77021d322f45a2b1d17bc79dc6189df1562ba2ea /examples/basic/src/enemy_creator.hpp
parent58762e6e029d71ed72b094ec2d5831b6cac4e27b (diff)
docs: fix basic example code style
Diffstat (limited to 'examples/basic/src/enemy_creator.hpp')
-rw-r--r--examples/basic/src/enemy_creator.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic/src/enemy_creator.hpp b/examples/basic/src/enemy_creator.hpp
index a220008..231b7f4 100644
--- a/examples/basic/src/enemy_creator.hpp
+++ b/examples/basic/src/enemy_creator.hpp
@@ -19,9 +19,9 @@ public:
IEnemyFactory big_enemy_factory
) noexcept;
- std::unique_ptr<IEnemy> create_small_enemy() noexcept override;
+ auto create_small_enemy() noexcept -> std::unique_ptr<IEnemy> override;
- std::unique_ptr<IEnemy> create_big_enemy() noexcept override;
+ auto create_big_enemy() noexcept -> std::unique_ptr<IEnemy> override;
private:
IEnemyFactory _small_enemy_factory;