blob: 993af65d45275bf3925494a3d86e35a28c594e39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// -*- C++ -*-
//
//$Id$
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
ACE_Refcountable::ACE_Refcountable (int refcount)
: refcount_ (refcount)
{
}
ACE_INLINE int
ACE_Refcountable::increment (void)
{
return ++this->refcount_;
}
ACE_INLINE int
ACE_Refcountable::decrement (void)
{
return --this->refcount_;
}
ACE_INLINE int
ACE_Refcountable::refcount (void) const
{
return this->refcount_;
}
ACE_END_VERSIONED_NAMESPACE_DECL
|