Skip to content

Commit

Permalink
Add missing 'typename' in template function
Browse files Browse the repository at this point in the history
Was breaking build on CI macOS
  • Loading branch information
gvnnz committed Aug 11, 2024
1 parent 085b996 commit 3ee5dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ auto findIfSafe(T& v, F&& func)
template <typename T>
auto findIfSafe(T& v, ID id)
{
auto it = findIf(v, [id](const T::value_type& t)
auto it = findIf(v, [id](const typename T::value_type& t)
{ return t.id == id; });
assert(it != std::end(v));
return it;
Expand Down

0 comments on commit 3ee5dfc

Please sign in to comment.