diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Refcountable.inl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/Refcountable.inl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Refcountable.inl b/TAO/orbsvcs/orbsvcs/Notify/Refcountable.inl new file mode 100644 index 00000000000..be75f075cd8 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/Notify/Refcountable.inl @@ -0,0 +1,14 @@ +// $Id$ + +ACE_INLINE +TAO_NS_Refcountable_Guard::TAO_NS_Refcountable_Guard (TAO_NS_Refcountable& refcountable) + :refcountable_ (refcountable) +{ + this->refcountable_._incr_refcnt (); +} + +ACE_INLINE +TAO_NS_Refcountable_Guard::~TAO_NS_Refcountable_Guard () +{ + this->refcountable_._decr_refcnt (); +} |