diff options
Diffstat (limited to 'examples/basic/src/sword.hpp')
-rw-r--r-- | examples/basic/src/sword.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic/src/sword.hpp b/examples/basic/src/sword.hpp index 25695b7..5ee3fef 100644 --- a/examples/basic/src/sword.hpp +++ b/examples/basic/src/sword.hpp @@ -7,7 +7,7 @@ class Sword : public IWeapon, public yacppdic::AutoWirable<IWeapon, Sword> { public: - int get_strength() const noexcept override; + [[nodiscard]] auto get_strength() const noexcept -> int override; private: int _strength = 30; |