diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-13 09:08:49 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-13 09:08:49 +0000 |
commit | b1f647f4cd425909af9a0928a84f1a48d9b04bbd (patch) | |
tree | a06db2c67e62c9928b5e1731899acd6ab089db26 /TAO/tao/CurrentC.cpp | |
parent | f979d8aad4bb72dbf8373a270f219ca9449bef07 (diff) | |
download | ATCD-b1f647f4cd425909af9a0928a84f1a48d9b04bbd.tar.gz |
ChangeLogTag: Thu Jul 13 03:55:51 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/CurrentC.cpp')
-rw-r--r-- | TAO/tao/CurrentC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp index d85060483d2..bd80d7fbb07 100644 --- a/TAO/tao/CurrentC.cpp +++ b/TAO/tao/CurrentC.cpp @@ -8,6 +8,7 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html #include "tao/CurrentC.h" +#include "tao/Sequence.h" #if !defined (__ACE_INLINE__) #include "tao/CurrentC.i" @@ -70,7 +71,7 @@ void *CORBA_Current::_tao_QueryInterface (ptr_arith_t type) else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow)) retv = ACE_reinterpret_cast (void *, ACE_static_cast (CORBA::Object_ptr, this)); - + if (retv) this->_add_ref (); return retv; |