Skip to content

Commit

Permalink
Fix build error again
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Sep 21, 2024
1 parent 02e6386 commit 5886854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GameClasses/BaseEntity.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BaseEntity {
template <template <typename> typename T>
[[nodiscard]] decltype(auto) as() const noexcept
{
return hookContext.template make<T>(static_cast<T<HookContext>::RawType*>(entity));
return hookContext.template make<T>(static_cast<typename T<HookContext>::RawType*>(entity));
}

[[nodiscard]] decltype(auto) renderComponent() const noexcept
Expand Down

0 comments on commit 5886854

Please sign in to comment.