Skip to content

Commit

Permalink
Fix linux compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lejeune committed Jul 11, 2014
1 parent 04e9dae commit ebc0d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphics/render.cpp
Expand Up @@ -591,7 +591,7 @@ struct unroll_args
template<typename Shader, typename ...TupleTypes, typename ...Args>
static void exec(std::tuple<TupleTypes...> t, Args... args)
{
unroll_args<N - 1>::exec<Shader>(t, std::get<N - 1>(t), args...);
unroll_args<N - 1>::template exec<Shader>(t, std::get<N - 1>(t), args...);
}
};

Expand All @@ -608,7 +608,7 @@ struct unroll_args<0>
template<typename Shader, typename... TupleType>
void apply(std::tuple<TupleType...> arg)
{
unroll_args<std::tuple_size<decltype(arg)>::value>::exec<Shader>(arg);
unroll_args<std::tuple_size<decltype(arg) >::value >::template exec<Shader>(arg);
}

template<typename Shader, enum E_VERTEX_TYPE VertexType, typename... TupleType>
Expand Down

0 comments on commit ebc0d95

Please sign in to comment.