From: Chris Lattner Date: Wed, 24 Jul 2002 20:44:02 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f5e6cd7517b80227fad80c77ceb95abb00632e8;p=oota-llvm.git *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3053 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Type.h b/include/llvm/Type.h index e7a192bac95..99e038af8fb 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -228,8 +228,12 @@ public: #include "llvm/Type.def" private: - class TypeIterator : public std::bidirectional_iterator { + class TypeIterator +#if __GNUC__ == 3 + : public std::iterator { +#else + : public std::bidirectional_iterator { +#endif const Type * const Ty; unsigned Idx;