diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-05-12 21:50:43 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-05-12 21:50:43 +0000 |
commit | 13bb81addfc15d9852711191696f5bd6e52f9552 (patch) | |
tree | f25cc36a8f5f6bed72b6015f19e5427730d782dc /include/llvm/ADT/SparseBitVector.h | |
parent | 378553cb079aba2b8dee5d52b5166316d4132d5a (diff) | |
download | llvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.gz llvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.bz2 llvm-13bb81addfc15d9852711191696f5bd6e52f9552.tar.xz |
Use struct instead of class to make MCVS compile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SparseBitVector.h')
-rw-r--r-- | include/llvm/ADT/SparseBitVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h index 72627b195c..6230135131 100644 --- a/include/llvm/ADT/SparseBitVector.h +++ b/include/llvm/ADT/SparseBitVector.h @@ -55,7 +55,7 @@ private: unsigned ElementIndex; BitWord Bits[BITWORDS_PER_ELEMENT]; // Needed for sentinels - friend class ilist_sentinel_traits<SparseBitVectorElement>; + friend struct ilist_sentinel_traits<SparseBitVectorElement>; SparseBitVectorElement() { ElementIndex = ~0U; memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT); |