// -*- C++ -*-
//
// $Id: ESF_RefCount_Guard.inl 77031 2007-02-12 15:20:17Z johnnyw $

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

template<class T> ACE_INLINE
TAO_ESF_RefCount_Guard<T>::
    TAO_ESF_RefCount_Guard (T &refcount)
  :  refcount_ (refcount)
{
  ++this->refcount_;
}

template<class T> ACE_INLINE
TAO_ESF_RefCount_Guard<T>::
    ~TAO_ESF_RefCount_Guard (void)
{
  --this->refcount_;
}

TAO_END_VERSIONED_NAMESPACE_DECL
