aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/enemy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/src/enemy.cpp')
-rw-r--r--examples/basic/src/enemy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic/src/enemy.cpp b/examples/basic/src/enemy.cpp
index 3923794..60bd98b 100644
--- a/examples/basic/src/enemy.cpp
+++ b/examples/basic/src/enemy.cpp
@@ -2,7 +2,7 @@
Enemy::Enemy(int health) noexcept : _health(health) {}
-int Enemy::get_health() const noexcept
+auto Enemy::get_health() const noexcept -> int
{
return _health;
}