the buildbots revealed one more breakage. fix. (why didn't I see this?)
authorGabor Greif <ggreif@gmail.com>
Thu, 27 Aug 2009 06:59:20 +0000 (06:59 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 27 Aug 2009 06:59:20 +0000 (06:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80227 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ConstantsScanner.h

index 796a942ccca2393a47d68a25a5d06ecbaeba86a0..6fc110a8065ae52c4940c9e0050da717b927421d 100644 (file)
@@ -22,7 +22,7 @@ namespace llvm {
 
 class Constant;
 
-class constant_iterator : public forward_iterator<const Constant, ptrdiff_t> {
+class constant_iterator : public std::iterator<std::forward_iterator_tag, const Constant, ptrdiff_t> {
   const_inst_iterator InstI;                // Method instruction iterator
   unsigned OpIdx;                           // Operand index