diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-01-24 23:10:02 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-01-24 23:10:02 +0000 |
commit | b1539e0a0d442021aa950f3747b97bb5f1cb541a (patch) | |
tree | d369dd06543754482ace33a1e1788cc90206b392 /libcxx/include/tuple | |
parent | d78ba0d4b223af199b0f5141f7616b2a151b0253 (diff) | |
download | bcm5719-llvm-b1539e0a0d442021aa950f3747b97bb5f1cb541a.tar.gz bcm5719-llvm-b1539e0a0d442021aa950f3747b97bb5f1cb541a.zip |
Fix missing return in __tuple_leaf::__can_bind_reference when __reference_binds_to_temporary added in r323380.
llvm-svn: 323389
Diffstat (limited to 'libcxx/include/tuple')
-rw-r--r-- | libcxx/include/tuple | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple index 1accb9c67a7..2e19f7ca8e9 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -175,6 +175,8 @@ class __tuple_leaf static constexpr bool __can_bind_reference() { #if __has_keyword(__reference_binds_to_temporary) return !__reference_binds_to_temporary(_Hp, _Tp); +#else + return true; #endif } |