diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/EC_Colocated_Latency/POA_Destroyer.inl')
-rw-r--r-- | TAO/orbsvcs/performance-tests/EC_Colocated_Latency/POA_Destroyer.inl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/POA_Destroyer.inl b/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/POA_Destroyer.inl new file mode 100644 index 00000000000..43f761a9d38 --- /dev/null +++ b/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/POA_Destroyer.inl @@ -0,0 +1,13 @@ +// $Id$ + +ACE_INLINE +POA_Destroyer::POA_Destroyer (PortableServer::POA_ptr poa) + : poa_ (PortableServer::POA::_duplicate (poa)) +{ +} + +ACE_INLINE void +POA_Destroyer::release () +{ + this->poa_ = PortableServer::POA::_nil (); +} |