From: Justin Lebar Date: Mon, 10 Oct 2016 20:18:02 +0000 (+0000) Subject: [ADT] Use () instead of {} in an attempt to work around MSVC 2012 ICEs. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5556ebb3658c28b52d7fa49c1032a915447d0474;p=llvm [ADT] Use () instead of {} in an attempt to work around MSVC 2012 ICEs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283796 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 57134885ced..e0d06f9f94a 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -706,12 +706,12 @@ template auto apply(F &&f, Tuple &&t) -> decltype(detail::apply_impl( std::forward(f), std::forward(t), build_index_impl< - std::tuple_size::type>::value>{})) { + std::tuple_size::type>::value>())) { using Indices = build_index_impl< std::tuple_size::type>::value>; return detail::apply_impl(std::forward(f), std::forward(t), - Indices{}); + Indices()); } } // End llvm namespace