summaryrefslogtreecommitdiffstats
path: root/libcxx/include/streambuf
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/streambuf')
-rw-r--r--libcxx/include/streambuf3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/streambuf b/libcxx/include/streambuf
index f6182d64fe6..ea64f578045 100644
--- a/libcxx/include/streambuf
+++ b/libcxx/include/streambuf
@@ -255,6 +255,9 @@ protected:
inline _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY
void pbump(int __n) { __nout_ += __n; }
+ _LIBCPP_ALWAYS_INLINE
+ void __pbump(streamsize __n) { __nout_ += __n; }
+
inline _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY
void setp(char_type* __pbeg, char_type* __pend) {
__bout_ = __nout_ = __pbeg;
OpenPOWER on IntegriCloud