Fix util::ecs::get(species)
This commit is contained in:
parent
f15dd26bb9
commit
df59cffd43
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ namespace psemek::util
|
|||
template <typename Component>
|
||||
Component const & ecs::get(handle species) const
|
||||
{
|
||||
return const_cast<typename Component::data const &>(const_cast<ecs *>(this)->get<Component>(species));
|
||||
return const_cast<Component const &>(const_cast<ecs *>(this)->get<Component>(species));
|
||||
}
|
||||
|
||||
template <typename Component>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue