Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeBryssinck committed May 29, 2022
1 parent b93cb7f commit 677daaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/server/Game/OwnerView.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ decltype(auto) OwnerView<T...>::find(entt::entity aEntity) const
auto it = m_view.find(aEntity);

if (it == m_view.end())
return m_view.end();
return end();

if (m_view.template get<OwnerComponent>(*it).GetOwner() == m_pPlayer)
return iterator(m_pPlayer, it, std::end(m_view), m_view);
Expand Down

0 comments on commit 677daaa

Please sign in to comment.