From d85b215a3a3b2cb16b38fce5b273744c045bc591 Mon Sep 17 00:00:00 2001 From: Flavien Chenu Date: Mon, 25 Mar 2024 13:01:03 +0100 Subject: [PATCH] refactor: update common library --- common/games/IGameProvider.hpp | 2 +- common/games/components/IComponent.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/games/IGameProvider.hpp b/common/games/IGameProvider.hpp index b0bb274..ddb2bcd 100644 --- a/common/games/IGameProvider.hpp +++ b/common/games/IGameProvider.hpp @@ -12,7 +12,7 @@ #include "types/GameManifest.hpp" namespace shared::games { - class IGameProvider; + class IGameProvider; } class shared::games::IGameProvider diff --git a/common/games/components/IComponent.hpp b/common/games/components/IComponent.hpp index a0be931..4ee1093 100644 --- a/common/games/components/IComponent.hpp +++ b/common/games/components/IComponent.hpp @@ -45,5 +45,5 @@ class shared::games::components::IComponent { * * @return Entity of the component */ - virtual std::shared_ptr getEntity() noexcept = 0; + virtual const entity::IEntity &getEntity() noexcept = 0; };