summaryrefslogtreecommitdiff
path: root/ace/IOStream_T.i
diff options
context:
space:
mode:
Diffstat (limited to 'ace/IOStream_T.i')
-rw-r--r--ace/IOStream_T.i13
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/IOStream_T.i b/ace/IOStream_T.i
index 67d99c8080a..c145eb52cc3 100644
--- a/ace/IOStream_T.i
+++ b/ace/IOStream_T.i
@@ -53,17 +53,19 @@ template <class STREAM> ACE_INLINE int
ACE_IOStream<STREAM>::eof (void) const
{
// Get the timeout value of the streambuf
- ACE_Time_Value *timeout = ACE_Streambuf_T<STREAM>::recv_timeout (0);
+ ACE_Time_Value *timeout = this->streambuf_->recv_timeout (0);
// Reset the timeout value of the streambuf.
- (void) ACE_Streambuf_T<STREAM>::recv_timeout (timeout);
+ (void) this->streambuf_->recv_timeout (timeout);
char c;
- int rval = ACE_Streambuf_T<STREAM>::recv_n (&c, sizeof c, MSG_PEEK,
-timeout);
+ int rval = this->streambuf_->recv_n (&c,
+ sizeof c,
+ MSG_PEEK,
+ timeout);
// Timeout, not an eof
- if (ACE_Streambuf_T<STREAM>::timeout())
+ if (this->streambuf_->timeout())
return 0;
// No timeout, got enough data: not eof
@@ -156,4 +158,3 @@ ACE_SOCK_Dgram_SC<STREAM>::get_remote_addr (ACE_INET_Addr &addr) const
addr = peer_;
return 0;
}
-