summaryrefslogtreecommitdiffstats
path: root/libcxx/include/iterator
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2017-05-23 18:55:32 +0000
committerMarshall Clow <mclow.lists@gmail.com>2017-05-23 18:55:32 +0000
commitc44a727ee43fa143528a51765905943fc681bd8b (patch)
tree917e050cf2b3146e0915bf52c4cc0141e836d70e /libcxx/include/iterator
parent02295000c21bbeabcdf3514f8382845e2b9ab241 (diff)
downloadbcm5719-llvm-c44a727ee43fa143528a51765905943fc681bd8b.tar.gz
bcm5719-llvm-c44a727ee43fa143528a51765905943fc681bd8b.zip
Implement LWG#2790: Remove istreambuf_iterator::operator->. It never did anything useful.
llvm-svn: 303675
Diffstat (limited to 'libcxx/include/iterator')
-rw-r--r--libcxx/include/iterator1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/include/iterator b/libcxx/include/iterator
index 4aa44746dc9..d163ab1b091 100644
--- a/libcxx/include/iterator
+++ b/libcxx/include/iterator
@@ -990,7 +990,6 @@ public:
_LIBCPP_INLINE_VISIBILITY char_type operator*() const
{return static_cast<char_type>(__sbuf_->sgetc());}
- _LIBCPP_INLINE_VISIBILITY char_type* operator->() const {return nullptr;}
_LIBCPP_INLINE_VISIBILITY istreambuf_iterator& operator++()
{
__sbuf_->sbumpc();
OpenPOWER on IntegriCloud