From a5d218fd1a7e842b7ea4ac7809b0ba89856a5205 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 9 Jun 2022 17:10:32 +0200 Subject: docs: fix basic example code style --- examples/basic/src/hero.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/basic/src/hero.hpp') 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 { public: - Hero(std::shared_ptr weapon) noexcept; + explicit Hero(std::shared_ptr weapon) noexcept; void fight(IEnemy &enemy) noexcept override; -- cgit v1.2.3-18-g5258