diff options
Diffstat (limited to 'TAO/CIAO')
-rw-r--r-- | TAO/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp | 8 | ||||
-rw-r--r-- | TAO/CIAO/DAnCE/RepositoryManager/Repository_Manager.cpp | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/TAO/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp b/TAO/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp index 2129a2d8bf2..c9e9a588adf 100644 --- a/TAO/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp +++ b/TAO/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp @@ -48,8 +48,8 @@ installPackage (const char* installation_name, { CIAO::Config_Handler::Config_Error_Handler tpd_err_handler; CIAO::Config_Handler::Config_Error_Handler pc_err_handler; - std::auto_ptr<DOMBuilder> tpd_parser (CIAO::Config_Handler::Utils:: - create_parser ()); + auto_ptr<DOMBuilder> tpd_parser (CIAO::Config_Handler::Utils:: + create_parser ()); tpd_parser->setErrorHandler(&tpd_err_handler); DOMDocument* tpd_doc = tpd_parser->parseURI (location); @@ -65,8 +65,8 @@ installPackage (const char* installation_name, ACE_TString package_location = top_pc_handler. process_TopLevelPackageDescription (); - std::auto_ptr<DOMBuilder> pc_parser (CIAO::Config_Handler::Utils:: - create_parser ()); + auto_ptr<DOMBuilder> pc_parser (CIAO::Config_Handler::Utils:: + create_parser ()); pc_parser->setErrorHandler(&pc_err_handler); DOMDocument* pc_doc = pc_parser->parseURI (package_location.c_str()); diff --git a/TAO/CIAO/DAnCE/RepositoryManager/Repository_Manager.cpp b/TAO/CIAO/DAnCE/RepositoryManager/Repository_Manager.cpp index 16787b60801..d1cbdcceb9d 100644 --- a/TAO/CIAO/DAnCE/RepositoryManager/Repository_Manager.cpp +++ b/TAO/CIAO/DAnCE/RepositoryManager/Repository_Manager.cpp @@ -7,6 +7,7 @@ #include "NodeManager/NodeDaemonC.h" #include "ace/OS_NS_stdio.h" #include "ace/streams.h" +#include "ace/Auto_Ptr.h" using namespace std; const char * exec_ior = "file://exec_mgr.ior"; @@ -88,13 +89,13 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) try { // get a reference to the parser. - std::auto_ptr<DOMBuilder> plan_parser (CIAO::Config_Handler::Utils:: - create_parser ()); + auto_ptr<DOMBuilder> plan_parser (CIAO::Config_Handler::Utils:: + create_parser ()); CIAO::Config_Handler::Config_Error_Handler handler; plan_parser->setErrorHandler(&handler); - std::auto_ptr<DOMBuilder> tpd_parser (CIAO::Config_Handler::Utils:: - create_parser ()); + auto_ptr<DOMBuilder> tpd_parser (CIAO::Config_Handler::Utils:: + create_parser ()); CIAO::Config_Handler::Config_Error_Handler tpd_handler; tpd_parser->setErrorHandler(&tpd_handler); |