blob: de454aaefe0d599f2fe3f87f5e791fa65bfcfd92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// -*- C++ -*-
//
// $Id$
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
|