summaryrefslogtreecommitdiff
path: root/ace/Service_Object.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-01-01 13:01:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-01-01 13:01:51 +0000
commit8df63015e2d521ec0babe9b62db2300278d9ce1b (patch)
tree8343386011ab9bfb8570a066497624fb33a7647a /ace/Service_Object.cpp
parentd08ea62ad48bd46ed4dbe72614396a52906546d2 (diff)
downloadATCD-8df63015e2d521ec0babe9b62db2300278d9ce1b.tar.gz
ChangeLogTag: Sat Jan 1 11:45:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
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 e92d4119bf5..3db9dc257c7 100644
--- a/ace/Service_Object.cpp
+++ b/ace/Service_Object.cpp
@@ -79,7 +79,7 @@ int
ACE_Service_Type::suspend (void) const
{
ACE_TRACE ("ACE_Service_Type::suspend");
- ((ACE_Service_Type *) this)->active_ = 0;
+ (const_cast<ACE_Service_Type *> (this))->active_ = 0;
return this->type_->suspend ();
}
@@ -87,7 +87,7 @@ int
ACE_Service_Type::resume (void) const
{
ACE_TRACE ("ACE_Service_Type::resume");
- ((ACE_Service_Type *) this)->active_ = 1;
+ (const_cast<ACE_Service_Type *> (this))->active_ = 1;
return this->type_->resume ();
}