Skip to content
Snippets Groups Projects
Commit a67b78a8 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[Asm] removed variadic template ambiguity

parent 9050f51d
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,13 @@ struct GlobalSetup ...@@ -46,6 +46,13 @@ struct GlobalSetup
return Executor::execute(std::forward<Args>(args)...); return Executor::execute(std::forward<Args>(args)...);
} }
template <typename... Args>
static
void transform(Args&& ... args)
{
return Executor::transform(std::forward<Args>(args)...);
}
GlobalSetup() { } GlobalSetup() { }
}; };
......
...@@ -58,9 +58,9 @@ struct SerialExecutor ...@@ -58,9 +58,9 @@ struct SerialExecutor
static static
void void
#if defined(_MSC_VER) && (_MSC_VER >= 1700) #if defined(_MSC_VER) && (_MSC_VER >= 1700)
execute(F& f, C const& c, Data& data, Args_&&... args) transform(F& f, C const& c, Data& data, Args_&&... args)
#else #else
execute(F const& f, C const& c, Data& data, Args_&&... args) transform(F const& f, C const& c, Data& data, Args_&&... args)
#endif #endif
{ {
assert(c.size() == data.size()); assert(c.size() == data.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment