From afa9235f07ea5e6067e47f63c6a64fdfbb9e5823 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Wed, 21 Apr 2004 16:10:40 +0000 Subject: [PATCH] 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 --- include/Support/BitSetVector.h | 2 +- include/llvm/ADT/BitSetVector.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.34.1