From 9a311ce45e745992fe3095e69f9800beac97b25e Mon Sep 17 00:00:00 2001 From: heinezen Date: Thu, 10 Aug 2023 17:21:25 +0200 Subject: [PATCH] gamestate: Don't inline component type getters. --- libopenage/gamestate/component/api/idle.cpp | 2 +- libopenage/gamestate/component/api/live.cpp | 2 +- libopenage/gamestate/component/api/move.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libopenage/gamestate/component/api/idle.cpp b/libopenage/gamestate/component/api/idle.cpp index 4d80e9ecff..1292fbadaf 100644 --- a/libopenage/gamestate/component/api/idle.cpp +++ b/libopenage/gamestate/component/api/idle.cpp @@ -6,7 +6,7 @@ namespace openage::gamestate::component { -inline component_t Idle::get_type() const { +component_t Idle::get_type() const { return component_t::IDLE; } diff --git a/libopenage/gamestate/component/api/live.cpp b/libopenage/gamestate/component/api/live.cpp index b9e0d0cd57..01fafde5ea 100644 --- a/libopenage/gamestate/component/api/live.cpp +++ b/libopenage/gamestate/component/api/live.cpp @@ -12,7 +12,7 @@ namespace openage::gamestate::component { -inline component_t Live::get_type() const { +component_t Live::get_type() const { return component_t::LIVE; } diff --git a/libopenage/gamestate/component/api/move.cpp b/libopenage/gamestate/component/api/move.cpp index aa9ac73daf..4abd1b5c3e 100644 --- a/libopenage/gamestate/component/api/move.cpp +++ b/libopenage/gamestate/component/api/move.cpp @@ -7,7 +7,7 @@ namespace openage::gamestate::component { -inline component_t Move::get_type() const { +component_t Move::get_type() const { return component_t::MOVE; }