diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:43:38 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:43:38 +0100 |
commit | ecffd1e315cf811a5a6575843bc0775e81778bb7 (patch) | |
tree | 97db7329f0d87120ac882d0c21797179132bb26a /TAO/orbsvcs/orbsvcs/FtRtEvent | |
parent | cfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff) | |
download | ATCD-ecffd1e315cf811a5a6575843bc0775e81778bb7.tar.gz |
Replace auto_ptr with unique_ptr
* TAO/orbsvcs/orbsvcs/Event/ECG_CDR_Message_Receiver.cpp:
* TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp:
* TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp:
* TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp:
* TAO/orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.cpp:
* TAO/orbsvcs/orbsvcs/Log/EventLogFactory_i.cpp:
* TAO/orbsvcs/orbsvcs/Log/Hash_LogStore.cpp:
* TAO/orbsvcs/orbsvcs/Log/RTEventLogFactory_i.cpp:
* TAO/orbsvcs/orbsvcs/Notify/ETCL_Filter.cpp:
* TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp:
* TAO/orbsvcs/orbsvcs/Notify/XML_Loader.cpp:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_FactoryRegistry.cpp:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_ObjectGroupManager.cpp:
* TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ORBInitializer.cpp:
* TAO/orbsvcs/orbsvcs/Trader/Trading_Loader.cpp:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent')
3 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp index 8a8416ab398..fb6f26942a8 100644 --- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp +++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/AMI_Replication_Strategy.cpp @@ -38,7 +38,7 @@ AMI_Replication_Strategy::make_primary_strategy() { AMI_Primary_Replication_Strategy* result; ACE_NEW_RETURN(result, AMI_Primary_Replication_Strategy(mt_), 0); - auto_ptr<AMI_Primary_Replication_Strategy> holder(result); + unique_ptr<AMI_Primary_Replication_Strategy> holder(result); if (result->activate() == 0) return holder.release(); return 0; diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp index f1c24c01f4d..51f5031d3c6 100644 --- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp +++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FTEC_Group_Manager.cpp @@ -116,7 +116,7 @@ void TAO_FTEC_Group_Manager::add_member ( TAO_FTRTEC::Log(1, ACE_TEXT("add_member location = <%s>\n"), (const char*)info.the_location[0].id); - auto_ptr<TAO_FTEC_Group_Manager_Impl> new_impl(new TAO_FTEC_Group_Manager_Impl); + unique_ptr<TAO_FTEC_Group_Manager_Impl> new_impl(new TAO_FTEC_Group_Manager_Impl); new_impl->my_position = impl_->my_position; size_t pos = impl_->info_list.length(); diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp index 9f43f278154..77ed900759c 100644 --- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp +++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp @@ -15,7 +15,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace FTRTEC { namespace { - auto_ptr<Replication_Strategy> replication_strategy; + unique_ptr<Replication_Strategy> replication_strategy; int threads = 1; Replication_Service* service; } |