blob: 1d9a03fb66ac1230e4f85d8967ab000cf0c1cfcf (
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
|
/* -*- C++ -*- */
//$Id$
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_;
}
|