diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-09 17:10:32 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-09 17:10:32 +0200 |
commit | a5d218fd1a7e842b7ea4ac7809b0ba89856a5205 (patch) | |
tree | 77021d322f45a2b1d17bc79dc6189df1562ba2ea /examples/basic/src/hero.hpp | |
parent | 58762e6e029d71ed72b094ec2d5831b6cac4e27b (diff) |
docs: fix basic example code style
Diffstat (limited to 'examples/basic/src/hero.hpp')
-rw-r--r-- | examples/basic/src/hero.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic/src/hero.hpp b/examples/basic/src/hero.hpp index e4959d2..e310817 100644 --- a/examples/basic/src/hero.hpp +++ b/examples/basic/src/hero.hpp @@ -10,7 +10,7 @@ class Hero : public IHero, public yacppdic::AutoWirable<IHero, Hero, IWeapon> { public: - Hero(std::shared_ptr<IWeapon> weapon) noexcept; + explicit Hero(std::shared_ptr<IWeapon> weapon) noexcept; void fight(IEnemy &enemy) noexcept override; |