summaryrefslogtreecommitdiff
path: root/ace/Recyclable.inl
blob: ef096ff62be889814d318398710ddd113822ab07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// -*- C++ -*-
//
//$Id$

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE ACE_Recyclable_State
ACE_Recyclable::recycle_state (void) const
{
  return this->recycle_state_;
}

ACE_INLINE void
ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state)
{
  if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED)
    this->recycle_state_ = new_state;
}

ACE_END_VERSIONED_NAMESPACE_DECL