Use a variable on the stack to not have a temporary in the call
[ACE_TAO.git] / ACE / protocols / ace / INet / HTTP_IOStream.inl
bloba6fd8b3861a2b105c8dd28ae350b9b112134a6bc
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace ACE
6   namespace HTTP
7   {
9     ACE_INLINE
10     StreamBuffer* IOS::rdbuf ()
11       {
12         return &this->streambuf_;
13       }
15     ACE_INLINE
16     void OStream::set_interceptor (StreamBuffer::interceptor_type& interceptor)
17       {
18         this->rdbuf ()->set_interceptor (interceptor);
19       }
21     ACE_INLINE
22     void IStream::set_interceptor (StreamBuffer::interceptor_type& interceptor)
23       {
24         this->rdbuf ()->set_interceptor (interceptor);
25       }
27   }
30 ACE_END_VERSIONED_NAMESPACE_DECL