summaryrefslogtreecommitdiff
path: root/ace/DLL_Manager.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-05-05 21:16:28 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-05-05 21:16:28 +0000
commitadc6a560af058e98aeb7f752bcb07b90259fda3a (patch)
treeae0c901f25d09e86445be7783f6071190d823ed2 /ace/DLL_Manager.cpp
parentcc911e5d700d2d00980b987ae2fc925387ad506c (diff)
downloadATCD-adc6a560af058e98aeb7f752bcb07b90259fda3a.tar.gz
ChangeLogTag:Wed May 5 14:14:53 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/DLL_Manager.cpp')
-rw-r--r--ace/DLL_Manager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/DLL_Manager.cpp b/ace/DLL_Manager.cpp
index 3016926cb86..49fef30bbc8 100644
--- a/ace/DLL_Manager.cpp
+++ b/ace/DLL_Manager.cpp
@@ -452,8 +452,8 @@ ACE_DLL_Manager::close (void)
{
if (this->handle_vector_[i])
{
- ACE_DLL_Handle *s = ACE_const_cast (ACE_DLL_Handle *,
- this->handle_vector_[i]);
+ ACE_DLL_Handle *s =
+ const_cast<ACE_DLL_Handle *> (this->handle_vector_[i]);
this->handle_vector_[i] = 0;
this->unload_dll (s, force_close);
delete s;
@@ -508,9 +508,9 @@ ACE_DLL_Manager::unload_dll (ACE_DLL_Handle *dll_handle, int force_unload)
void *unload_policy_ptr =
dll_handle->symbol (ACE_TEXT ("_get_dll_unload_policy"), 1);
ptrdiff_t temp_p =
- ACE_reinterpret_cast (ptrdiff_t, unload_policy_ptr);
+ reinterpret_cast<ptrdiff_t> (unload_policy_ptr);
the_policy =
- ACE_reinterpret_cast (dll_unload_policy, temp_p);
+ reinterpret_cast<dll_unload_policy> (temp_p);
if (the_policy != 0)
unload = ACE_BIT_DISABLED (the_policy (),
ACE_DLL_UNLOAD_POLICY_LAZY);