Skip to content
Snippets Groups Projects
Commit 2892e007 authored by Elias Pipping's avatar Elias Pipping
Browse files

Make compile with clang

parent 8c8bf82e
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -425,8 +425,8 @@ template<class Index, class Begin, class End, class F, class... Args, ...@@ -425,8 +425,8 @@ template<class Index, class Begin, class End, class F, class... Args,
std::enable_if_t<IsIntegralConstant<Begin>::value and IsIntegralConstant<End>::value, int> = 0> std::enable_if_t<IsIntegralConstant<Begin>::value and IsIntegralConstant<End>::value, int> = 0>
void integralRangeFor(Begin&& begin, End&& end, F&& f, Args&&... args) void integralRangeFor(Begin&& begin, End&& end, F&& f, Args&&... args)
{ {
static const Index begin_t = begin; static const Index begin_t = std::decay_t<Begin>::value;
static const Index end_t = end; static const Index end_t = std::decay_t<End>::value;
StaticForLoop<Index, begin_t, end_t>::apply(std::forward<F>(f), std::forward<Args>(args)...); StaticForLoop<Index, begin_t, end_t>::apply(std::forward<F>(f), std::forward<Args>(args)...);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment