summaryrefslogtreecommitdiff
path: root/TAO/tao/TAOC.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-26 03:35:17 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-26 03:35:17 +0000
commit0684b34d0ee127331e13be5ae08442e936500586 (patch)
tree7e010e59c86149d410be0abf214c842a8d704af0 /TAO/tao/TAOC.cpp
parent48647abd35a92ff4cc39168a997f83263be511a3 (diff)
downloadATCD-0684b34d0ee127331e13be5ae08442e936500586.tar.gz
ChangeLogTag:Tue Apr 25 19:25:28 2000 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/TAOC.cpp')
-rw-r--r--TAO/tao/TAOC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/TAOC.cpp b/TAO/tao/TAOC.cpp
index a78c3bfe458..839fb244e42 100644
--- a/TAO/tao/TAOC.cpp
+++ b/TAO/tao/TAOC.cpp
@@ -111,7 +111,7 @@ TAO::ClientPriorityPolicy_ptr
TAO::ClientPriorityPolicy::_duplicate (TAO::ClientPriorityPolicy_ptr obj)
{
if (!CORBA::is_nil (obj))
- obj->_incr_refcnt ();
+ obj->_add_ref ();
return obj;
}
@@ -458,7 +458,7 @@ TAO::BufferingConstraintPolicy_ptr
TAO::BufferingConstraintPolicy::_duplicate (TAO::BufferingConstraintPolicy_ptr obj)
{
if (!CORBA::is_nil (obj))
- obj->_incr_refcnt ();
+ obj->_add_ref ();
return obj;
}