summaryrefslogtreecommitdiff
path: root/ace/Recyclable.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Recyclable.inl')
-rw-r--r--ace/Recyclable.inl13
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Recyclable.inl b/ace/Recyclable.inl
index c9a4318b2dc..ef096ff62be 100644
--- a/ace/Recyclable.inl
+++ b/ace/Recyclable.inl
@@ -1,7 +1,8 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
+//
//$Id$
-
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE ACE_Recyclable_State
ACE_Recyclable::recycle_state (void) const
@@ -12,8 +13,8 @@ ACE_Recyclable::recycle_state (void) const
ACE_INLINE void
ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state)
{
- if (this->recycle_state_ == ACE_RECYCLABLE_CLOSED)
- return;
-
- this->recycle_state_ = new_state;
+ if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED)
+ this->recycle_state_ = new_state;
}
+
+ACE_END_VERSIONED_NAMESPACE_DECL