Fix missing return in __tuple_leaf::__can_bind_reference when __reference_binds_to_temporary added in r323380.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@323389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2018-01-24 23:10:02 +00:00
parent cc7048888e
commit 8592d0abce

View File

@@ -175,6 +175,8 @@ class __tuple_leaf
static constexpr bool __can_bind_reference() { static constexpr bool __can_bind_reference() {
#if __has_keyword(__reference_binds_to_temporary) #if __has_keyword(__reference_binds_to_temporary)
return !__reference_binds_to_temporary(_Hp, _Tp); return !__reference_binds_to_temporary(_Hp, _Tp);
#else
return true;
#endif #endif
} }