aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/sword.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/src/sword.cpp')
-rw-r--r--examples/basic/src/sword.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic/src/sword.cpp b/examples/basic/src/sword.cpp
index 5d5ec40..6c8b74e 100644
--- a/examples/basic/src/sword.cpp
+++ b/examples/basic/src/sword.cpp
@@ -1,6 +1,6 @@
#include "sword.hpp"
-int Sword::get_strength() const noexcept
+auto Sword::get_strength() const noexcept -> int
{
return _strength;
}