Declare iterator as public since it is defined as such (gcc-3.4 fix)
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Wed, 21 Apr 2004 16:10:40 +0000 (16:10 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Wed, 21 Apr 2004 16:10:40 +0000 (16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13090 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/BitSetVector.h
include/llvm/ADT/BitSetVector.h

index 72f55b38c4fb85b2d0328acf6360fdebc9ee1510..276af0a68a682ac427276c7244a836945e4f1039 100644 (file)
@@ -38,7 +38,6 @@ class BitSetVector {
   // Types used internal to the representation
   typedef std::bitset<BITSET_WORDSIZE> bitword;
   typedef bitword::reference reference;
-  class iterator;
 
   // Data used in the representation
   std::vector<bitword> bitsetVec;
@@ -67,6 +66,7 @@ private:
   BitSetVector();                       // do not implement!
 
 public:
+  class iterator;
   /// 
   /// Constructor: create a set of the maximum size maxSetSize.
   /// The set is initialized to empty.
index 72f55b38c4fb85b2d0328acf6360fdebc9ee1510..276af0a68a682ac427276c7244a836945e4f1039 100644 (file)
@@ -38,7 +38,6 @@ class BitSetVector {
   // Types used internal to the representation
   typedef std::bitset<BITSET_WORDSIZE> bitword;
   typedef bitword::reference reference;
-  class iterator;
 
   // Data used in the representation
   std::vector<bitword> bitsetVec;
@@ -67,6 +66,7 @@ private:
   BitSetVector();                       // do not implement!
 
 public:
+  class iterator;
   /// 
   /// Constructor: create a set of the maximum size maxSetSize.
   /// The set is initialized to empty.