From: Bill Wendling Date: Tue, 12 May 2009 21:50:43 +0000 (+0000) Subject: Use struct instead of class to make MCVS compile. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=13bb81addfc15d9852711191696f5bd6e52f9552;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/SparseBitVector.h b/include/llvm/ADT/SparseBitVector.h index 72627b195c5..6230135131a 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; + friend struct ilist_sentinel_traits; SparseBitVectorElement() { ElementIndex = ~0U; memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);