[cfe-commits] [libcxx] r162108 - in /libcxx/trunk/include: bitset vector
Howard Hinnant
hhinnant at apple.com
Fri Aug 17 10:10:18 PDT 2012
Author: hhinnant
Date: Fri Aug 17 12:10:18 2012
New Revision: 162108
URL: http://llvm.org/viewvc/llvm-project?rev=162108&view=rev
Log:
Consistently label __bit_array as a struct, not a class.
Modified:
libcxx/trunk/include/bitset
libcxx/trunk/include/vector
Modified: libcxx/trunk/include/bitset
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/bitset?rev=162108&r1=162107&r2=162108&view=diff
==============================================================================
--- libcxx/trunk/include/bitset (original)
+++ libcxx/trunk/include/bitset Fri Aug 17 12:10:18 2012
@@ -159,7 +159,7 @@
friend class __bit_const_reference<__bitset>;
friend class __bit_iterator<__bitset, false>;
friend class __bit_iterator<__bitset, true>;
- friend class __bit_array<__bitset>;
+ friend struct __bit_array<__bitset>;
__storage_type __first_[_N_words];
@@ -435,7 +435,7 @@
friend class __bit_const_reference<__bitset>;
friend class __bit_iterator<__bitset, false>;
friend class __bit_iterator<__bitset, true>;
- friend class __bit_array<__bitset>;
+ friend struct __bit_array<__bitset>;
__storage_type __first_;
Modified: libcxx/trunk/include/vector
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/vector?rev=162108&r1=162107&r2=162108&view=diff
==============================================================================
--- libcxx/trunk/include/vector (original)
+++ libcxx/trunk/include/vector Fri Aug 17 12:10:18 2012
@@ -2318,7 +2318,7 @@
friend class __bit_const_reference<vector>;
friend class __bit_iterator<vector, false>;
friend class __bit_iterator<vector, true>;
- friend class __bit_array<vector>;
+ friend struct __bit_array<vector>;
friend struct _LIBCPP_VISIBLE hash<vector>;
};
More information about the cfe-commits
mailing list