summaryrefslogtreecommitdiff
path: root/TAO/tao/PICurrent.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-09-24 19:18:19 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-09-24 19:18:19 +0000
commitc25d9733ec3d33818f4747dec5921c6553c55540 (patch)
tree927a7261d2c84d29bfbcdc4b6303f36c23d1e058 /TAO/tao/PICurrent.cpp
parente2d9cf66667529b069af6588cdcdfaaf5e98ee63 (diff)
downloadATCD-c25d9733ec3d33818f4747dec5921c6553c55540.tar.gz
ChangeLogTag:Mon Sep 24 12:17:28 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/PICurrent.cpp')
-rw-r--r--TAO/tao/PICurrent.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/PICurrent.cpp b/TAO/tao/PICurrent.cpp
index 5bafcecbd16..438faa3c26d 100644
--- a/TAO/tao/PICurrent.cpp
+++ b/TAO/tao/PICurrent.cpp
@@ -104,7 +104,7 @@ TAO_PICurrent_Impl::~TAO_PICurrent_Impl (void)
{
size_t len = this->slot_table_.size ();
for (size_t i = 0; i < len; ++i)
- delete ACE_static_cast (CORBA::Any *, this->slot_table_[i]);
+ delete (CORBA::Any *) this->slot_table_[i];
}
CORBA::Any *
@@ -138,8 +138,7 @@ TAO_PICurrent_Impl::get_slot (PortableInterceptor::SlotId id,
return any;
}
- const CORBA::Any *data =
- ACE_static_cast (CORBA::Any *, table[id]);
+ const CORBA::Any *data = (CORBA::Any *) table[id];
ACE_NEW_THROW_EX (any,
CORBA::Any (*data), // Make a copy.
@@ -179,8 +178,7 @@ TAO_PICurrent_Impl::set_slot (PortableInterceptor::SlotId id,
if (i == id)
continue; // Avoid copying data twice.
- const CORBA::Any *lc_data =
- ACE_static_cast (CORBA::Any *, table[i]);
+ const CORBA::Any *lc_data = (CORBA::Any *) table[i];
CORBA::Any *any = 0;
ACE_NEW_THROW_EX (any,