summaryrefslogtreecommitdiff
path: root/ace/Service_Object.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
committerSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
commit34104cf059eeafbd1382ac7f9315e0c9a4afac2e (patch)
tree929cad045679537bffe42e0311c7d1ac90539359 /ace/Service_Object.cpp
parent2cf1b9573c6f58e31ad17124620d11875cf8dab9 (diff)
downloadATCD-PROACTOR_FIXES_STEVE_JAN05.tar.gz
Commit merged-in changes from mainlinePROACTOR_FIXES_STEVE_JAN05
Diffstat (limited to 'ace/Service_Object.cpp')
-rw-r--r--ace/Service_Object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Service_Object.cpp b/ace/Service_Object.cpp
index 3db9dc257c7..42786291f87 100644
--- a/ace/Service_Object.cpp
+++ b/ace/Service_Object.cpp
@@ -61,7 +61,7 @@ ACE_Service_Type::~ACE_Service_Type (void)
this->fini ();
- delete [] (ACE_TCHAR *) this->name_;
+ delete [] const_cast <ACE_TCHAR *> (this->name_);
}
int
@@ -121,6 +121,6 @@ ACE_Service_Type::name (const ACE_TCHAR *n)
{
ACE_TRACE ("ACE_Service_Type::name");
- delete [] (ACE_TCHAR *) this->name_;
+ delete [] const_cast <ACE_TCHAR *> (this->name_);
this->name_ = ACE::strnew (n);
}