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.