summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/std_streambuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/std/std_streambuf.h')
-rw-r--r--libstdc++-v3/include/std/std_streambuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h
index ded94a4e512..5409b7515c3 100644
--- a/libstdc++-v3/include/std/std_streambuf.h
+++ b/libstdc++-v3/include/std/std_streambuf.h
@@ -453,7 +453,7 @@ namespace std
{
int_type __ret;
if (_M_in_cur < _M_in_end)
- __ret = traits_type::to_int_type(*(this->gptr()));
+ __ret = traits_type::to_int_type(*this->_M_in_cur);
else
__ret = this->underflow();
return __ret;
OpenPOWER on IntegriCloud