From: Chris Lattner Date: Sun, 13 Oct 2002 19:30:44 +0000 (+0000) Subject: disable the unused "pointer" member X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d063725c3c6e36b711106f06e0cab11a1283f349;p=oota-llvm.git disable the unused "pointer" member git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4144 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/STLExtras.h b/include/Support/STLExtras.h index 8196aebbdf3..4112b1f5ec5 100644 --- a/include/Support/STLExtras.h +++ b/include/Support/STLExtras.h @@ -75,7 +75,9 @@ public: typedef typename std::iterator_traits::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 8196aebbdf3..4112b1f5ec5 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -75,7 +75,9 @@ public: typedef typename std::iterator_traits::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;