1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

[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 96d7bc1342
commit f2afb57e75

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