summaryrefslogtreecommitdiff
path: root/TAO/tao/Stub.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-08-07 11:49:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-08-07 11:49:17 +0000
commit7dabf33b58d92db1c25e7a962c0d46d8c7d086c8 (patch)
tree3383d6d03192a47cb934f1fb206cc55dae0c4d69 /TAO/tao/Stub.cpp
parentf1c895e14a25af822da1196955e23c8b3bb4e585 (diff)
downloadATCD-7dabf33b58d92db1c25e7a962c0d46d8c7d086c8.tar.gz
Tue Aug 7 11:48:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r--TAO/tao/Stub.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp
index ad19bfd6e4b..bfc563eaed7 100644
--- a/TAO/tao/Stub.cpp
+++ b/TAO/tao/Stub.cpp
@@ -551,4 +551,17 @@ TAO_Stub::marshal (TAO_OutputCDR &cdr)
return (CORBA::Boolean) cdr.good_bit ();
}
+void
+TAO_Stub::_incr_refcnt (void)
+{
+ ++this->refcount_;
+}
+
+void
+TAO_Stub::_decr_refcnt (void)
+{
+ if (--this->refcount_ == 0)
+ delete this;
+}
+
TAO_END_VERSIONED_NAMESPACE_DECL