[llvm-commits] CVS: llvm/include/llvm/ADT/STLExtras.h
Chris Lattner
sabre at nondot.org
Thu May 3 11:32:28 PDT 2007
Changes in directory llvm/include/llvm/ADT:
STLExtras.h updated: 1.21 -> 1.22
---
Log message:
This is a patch to fix a compile error in STLExtras.h, and
a bug in GraphWriter.cpp.
Patch by Florian Brandner
---
Diffs of the changes: (+1 -1)
STLExtras.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/STLExtras.h
diff -u llvm/include/llvm/ADT/STLExtras.h:1.21 llvm/include/llvm/ADT/STLExtras.h:1.22
--- llvm/include/llvm/ADT/STLExtras.h:1.21 Thu Apr 21 15:13:50 2005
+++ llvm/include/llvm/ADT/STLExtras.h Thu May 3 13:32:10 2007
@@ -71,7 +71,7 @@
typedef RootIt iterator_type;
typedef mapped_iterator<RootIt, UnaryFunc> _Self;
- inline RootIt &getCurrent() const { return current; }
+ inline const RootIt &getCurrent() const { return current; }
inline explicit mapped_iterator(const RootIt &I, UnaryFunc F)
: current(I), Fn(F) {}
More information about the llvm-commits
mailing list