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; }