aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Support/STLExtras.h4
-rw-r--r--include/llvm/ADT/STLExtras.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/Support/STLExtras.h b/include/Support/STLExtras.h
index 8196aebbdf..4112b1f5ec 100644
--- a/include/Support/STLExtras.h
+++ b/include/Support/STLExtras.h
@@ -75,7 +75,9 @@ public:
typedef typename std::iterator_traits<RootIt>::difference_type
difference_type;
typedef typename UnaryFunc::result_type value_type;
- typedef typename UnaryFunc::result_type *pointer;
+
+ typedef void pointer;
+ //typedef typename UnaryFunc::result_type *pointer;
typedef void reference; // Can't modify value returned by fn
typedef RootIt iterator_type;
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h
index 8196aebbdf..4112b1f5ec 100644
--- a/include/llvm/ADT/STLExtras.h
+++ b/include/llvm/ADT/STLExtras.h
@@ -75,7 +75,9 @@ public:
typedef typename std::iterator_traits<RootIt>::difference_type
difference_type;
typedef typename UnaryFunc::result_type value_type;
- typedef typename UnaryFunc::result_type *pointer;
+
+ typedef void pointer;
+ //typedef typename UnaryFunc::result_type *pointer;
typedef void reference; // Can't modify value returned by fn
typedef RootIt iterator_type;