From: Alkis Evlogimenos Date: Wed, 21 Apr 2004 16:10:40 +0000 (+0000) Subject: Declare iterator as public since it is defined as such (gcc-3.4 fix) X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=afa9235f07ea5e6067e47f63c6a64fdfbb9e5823;p=oota-llvm.git Declare iterator as public since it is defined as such (gcc-3.4 fix) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13090 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/BitSetVector.h b/include/Support/BitSetVector.h index 72f55b38c4f..276af0a68a6 100644 --- a/include/Support/BitSetVector.h +++ b/include/Support/BitSetVector.h @@ -38,7 +38,6 @@ class BitSetVector { // Types used internal to the representation typedef std::bitset bitword; typedef bitword::reference reference; - class iterator; // Data used in the representation std::vector 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. diff --git a/include/llvm/ADT/BitSetVector.h b/include/llvm/ADT/BitSetVector.h index 72f55b38c4f..276af0a68a6 100644 --- a/include/llvm/ADT/BitSetVector.h +++ b/include/llvm/ADT/BitSetVector.h @@ -38,7 +38,6 @@ class BitSetVector { // Types used internal to the representation typedef std::bitset bitword; typedef bitword::reference reference; - class iterator; // Data used in the representation std::vector 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.