[libcxx-commits] [libcxx] 6b257af - [libc++] Fix C++03 with the unstable ABI enabled

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 25 06:17:33 PDT 2022


Author: Nikolas Klauser
Date: 2022-04-25T15:17:24+02:00
New Revision: 6b257af82261a526b79c0e65c8eed073e916e711

URL: https://github.com/llvm/llvm-project/commit/6b257af82261a526b79c0e65c8eed073e916e711
DIFF: https://github.com/llvm/llvm-project/commit/6b257af82261a526b79c0e65c8eed073e916e711.diff

LOG: [libc++] Fix C++03 with the unstable ABI enabled

Added: 
    

Modified: 
    libcxx/include/__bit_reference

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference
index b6a4699df907a..8c4f1badbd35c 100644
--- a/libcxx/include/__bit_reference
+++ b/libcxx/include/__bit_reference
@@ -1112,7 +1112,7 @@ public:
 #ifndef _LIBCPP_ABI_BITSET_VECTOR_BOOL_CONST_SUBSCRIPT_RETURN_BOOL
     typedef typename conditional<_IsConst, __bit_const_reference<_Cp>, __bit_reference<_Cp> >::type reference;
 #else
-    using reference = typename conditional<_IsConst, bool, __bit_reference<_Cp>>::type;
+    using reference = typename conditional<_IsConst, bool, __bit_reference<_Cp> >::type;
 #endif
     typedef random_access_iterator_tag                                                            iterator_category;
 


        


More information about the libcxx-commits mailing list