summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 18:58:47 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 18:58:47 +0000
commit5dbf529c4c4edcd227e2367db4fb0bc0ed1a22be (patch)
tree4a62f0d6f2577eddf94b9b04007b8f7fb8942caa /TAO/examples
parentf7c99f7db84bd5094eda672747cf6e7842ae786d (diff)
downloadATCD-5dbf529c4c4edcd227e2367db4fb0bc0ed1a22be.tar.gz
Thu Jun 17 13:40:10 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/POA/Forwarding/MyFooServant.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/POA/Forwarding/MyFooServant.cpp b/TAO/examples/POA/Forwarding/MyFooServant.cpp
index 25e98da1d9e..4c763358bf3 100644
--- a/TAO/examples/POA/Forwarding/MyFooServant.cpp
+++ b/TAO/examples/POA/Forwarding/MyFooServant.cpp
@@ -42,16 +42,18 @@ MyFirstFooServant::MyFirstFooServant (CORBA::ORB_ptr orb_ptr,
// Register handle. Note that NULL_MASK is used to keep the
// ACE_Reactor from calling us back on the ACE_DEV_NULL descriptor.
+ ACE_Reactor_Mask mask = ACE_Event_Handler::NULL_MASK;
int result = this->orb_->orb_core ()->reactor ()->
- register_handler (this->handle_, this, ACE_Event_Handler::NULL_MASK);
+ register_handler (this->handle_, this, mask);
ACE_ASSERT (result == 0);
}
// Destructor
MyFirstFooServant::~MyFirstFooServant (void)
{
+ ACE_Reactor_Mask mask = ACE_Event_Handler::NULL_MASK;
int result = this->orb_->orb_core ()->reactor ()->
- remove_handler (this->handle_, ACE_Event_Handler::NULL_MASK);
+ remove_handler (this->handle_, mask);
ACE_ASSERT (result == 0);
}