[libcxx] r294141 - Fix variant build errors with GCC 7
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 5 12:36:07 PST 2017
Author: ericwf
Date: Sun Feb 5 14:36:07 2017
New Revision: 294141
URL: http://llvm.org/viewvc/llvm-project?rev=294141&view=rev
Log:
Fix variant build errors with GCC 7
Modified:
libcxx/trunk/include/variant
Modified: libcxx/trunk/include/variant
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/variant?rev=294141&r1=294140&r2=294141&view=diff
==============================================================================
--- libcxx/trunk/include/variant (original)
+++ libcxx/trunk/include/variant Sun Feb 5 14:36:07 2017
@@ -480,8 +480,7 @@ private:
template <class _Fp, class... _Vs, size_t... _Is>
inline _LIBCPP_INLINE_VISIBILITY
static constexpr auto __make_dispatch(index_sequence<_Is...>) {
- return _VSTD::addressof(
- __dispatcher<_Is...>::template __dispatch<_Fp, _Vs...>);
+ return __dispatcher<_Is...>::template __dispatch<_Fp, _Vs...>;
}
template <size_t _Ip, class _Fp, class... _Vs>
More information about the cfe-commits
mailing list