[ADT] Use () instead of {} in an attempt to work around MSVC 2012 ICEs.

llvm-svn: 283796
This commit is contained in:
Justin Lebar 2016-10-10 20:18:02 +00:00
parent 6fdfaedd9d
commit 0705d8e98b
1 changed files with 2 additions and 2 deletions

View File

@ -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