summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/streambuf.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/streambuf.tcc')
-rw-r--r--libstdc++-v3/include/bits/streambuf.tcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/streambuf.tcc b/libstdc++-v3/include/bits/streambuf.tcc
index 607800e19e0..292999cfba3 100644
--- a/libstdc++-v3/include/bits/streambuf.tcc
+++ b/libstdc++-v3/include/bits/streambuf.tcc
@@ -51,7 +51,7 @@ namespace std
int_type __ret;
if (_M_in_cur && _M_in_cur < _M_in_end)
{
- char_type __c = *gptr();
+ char_type __c = *(this->gptr());
_M_in_cur_move(1);
__ret = traits_type::to_int_type(__c);
}
OpenPOWER on IntegriCloud