Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Synch_Invocation.inl
blobc595d17a7c0c891cf126ead7b31af94d3dc610f3
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 namespace TAO
6   ACE_INLINE
7   Reply_Guard::Reply_Guard (Invocation_Base *b,
8                             Invocation_Status s)
9     : invocation_ (b)
10     , status_ (s)
11   {
12   }
14   ACE_INLINE
15   Reply_Guard::~Reply_Guard ()
16   {
17 #if TAO_HAS_INTERCEPTORS == 1
18     this->invocation_->invoke_status (this->status_);
19 #endif  /* TAO_HAS_INTERCEPTORS == 1 */
20   }
22   ACE_INLINE void
23   Reply_Guard::set_status (Invocation_Status s)
24   {
25     this->status_ = s;
26   }
29 TAO_END_VERSIONED_NAMESPACE_DECL