forked from OSchip/llvm-project
[ADT] Use () instead of {} in an attempt to work around MSVC 2012 ICEs.
llvm-svn: 283796
This commit is contained in:
parent
6fdfaedd9d
commit
0705d8e98b
|
@ -706,12 +706,12 @@ template <typename F, typename Tuple>
|
|||
auto apply(F &&f, Tuple &&t) -> decltype(detail::apply_impl(
|
||||
std::forward<F>(f), std::forward<Tuple>(t),
|
||||
build_index_impl<
|
||||
std::tuple_size<typename std::decay<Tuple>::type>::value>{})) {
|
||||
std::tuple_size<typename std::decay<Tuple>::type>::value>())) {
|
||||
using Indices = build_index_impl<
|
||||
std::tuple_size<typename std::decay<Tuple>::type>::value>;
|
||||
|
||||
return detail::apply_impl(std::forward<F>(f), std::forward<Tuple>(t),
|
||||
Indices{});
|
||||
Indices());
|
||||
}
|
||||
} // End llvm namespace
|
||||
|
||||
|
|
Loading…
Reference in New Issue