diff options
Diffstat (limited to 'TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h')
-rw-r--r-- | TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h b/TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h index 65f212916ce..619d5d7f3ac 100644 --- a/TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h +++ b/TAO/CIAO/DnC/ExecutionManager/ExecutionManager_Impl.h @@ -23,6 +23,7 @@ #include "ace/Synch.h" #include "ace/Hash_Map_Manager.h" +#include "tao/Utils/Servant_Var.h" #include "DomainApplicationManager/DomainApplicationManager_Impl.h" /** @@ -120,12 +121,8 @@ namespace CIAO Deployment::DomainApplicationManager_var dam_; - // @@ (OO) You may want to consider caching this->dam_servant_ - // into a TAO::Utils::Servant_Var<> to ease memory - // management, e.g. automatically decreasing reference - // counts, etc. /// Cached servant of the DomainApplicaitonmanager. - CIAO::DomainApplicationManager_Impl * dam_servant_; + TAO::Utils::Servant_Var<CIAO::DomainApplicationManager_Impl> dam_servant_; }; }; |