diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-26 19:10:02 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-09-26 19:10:02 +0200 |
commit | ad7a6707a41f88f8fdf043cfc44f8674698880f0 (patch) | |
tree | 4bbb35e047ed1d561947b5df32be323b32ec6dd4 /TAO/tests/Storable/Savable.cpp | |
parent | 27010649539be8117b37516080a7091969a4b03a (diff) | |
download | ATCD-ad7a6707a41f88f8fdf043cfc44f8674698880f0.tar.gz |
Use std::unique_ptr and default
* ACE/ace/INET_Addr.cpp:
* ACE/ace/Parse_Node.h:
* ACE/ace/Service_Gestalt.cpp:
* ACE/ace/TLI.cpp:
* ACE/ace/Thread_Manager.cpp:
* ACE/ace/UUID.cpp:
* ACE/ace/UUID.h:
* ACE/ace/WFMO_Reactor.cpp:
* ACE/tests/CDR_File_Test.cpp:
* TAO/orbsvcs/DevGuideExamples/EventServices/RTEC_MCast_Federated/EchoEventSupplierMain.cpp:
* TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.cpp:
* TAO/orbsvcs/examples/CosEC/Factory/CosEventChannelFactory_i.h:
* TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp:
* TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.h:
* TAO/orbsvcs/examples/CosEC/Factory/README:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/CosEvent_Utilities.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/CosEvent_Utilities.h:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/EventChannel_i.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/EventChannel_i.h:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushConsumer_i.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ProxyPushSupplier_i.h:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/SupplierAdmin_i.cpp:
* TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/SupplierAdmin_i.h:
* TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Fault_Detector_Loader.cpp:
* TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/Replication_Service.cpp:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_FactoryRegistry.cpp:
* TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group_Storable.cpp:
* TAO/orbsvcs/performance-tests/RTEvent/lib/Control.cpp:
* TAO/orbsvcs/performance-tests/RTEvent/lib/Low_Priority_Setup.cpp:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumer_i.cpp:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventConsumer_i.h:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplierMain.cpp:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplier_i.cpp:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/EchoEventSupplier_i.h:
* TAO/orbsvcs/tests/Event/Mcast/RTEC_MCast_Federated/README:
* TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Bug_1385_Regression/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Bug_2415_Regression/Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Bug_2561_Regression/Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Discarding/Sequence_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Discarding/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Ordering/Sequence_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Ordering/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Persistent_POA/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Sequence_Multi_ETCL_Filter/Sequence_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Sequence_Multi_Filter/Sequence_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Structured_Filter/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/Structured_Multi_Filter/Structured_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Supplier.cpp:
* TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Supplier.cpp:
* TAO/tao/IORManipulation/IORManipulation.cpp:
* TAO/tao/Leader_Follower.cpp:
* TAO/tao/Load_Protocol_Factory_T.h:
* TAO/tao/ORB_Core.cpp:
* TAO/tao/PortableServer/ServantRetentionStrategyRetain.cpp:
* TAO/tao/default_resource.cpp:
* TAO/tests/Oneway_Send_Timeouts/Server.cpp:
* TAO/tests/Storable/Savable.cpp:
Diffstat (limited to 'TAO/tests/Storable/Savable.cpp')
-rw-r--r-- | TAO/tests/Storable/Savable.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tests/Storable/Savable.cpp b/TAO/tests/Storable/Savable.cpp index 11aad54585a..2bc0a00d7f1 100644 --- a/TAO/tests/Storable/Savable.cpp +++ b/TAO/tests/Storable/Savable.cpp @@ -104,8 +104,7 @@ Savable::Savable (TAO::Storable_Factory & storable_factory) } } - ACE_Auto_Ptr<TAO::Storable_Base> - stream (storable_factory_.create_stream("test.dat", "r")); + ACE_Auto_Ptr<TAO::Storable_Base> stream (storable_factory_.create_stream("test.dat", "r")); if (stream->exists ()) { Savable_File_Guard fg(*this, SFG::CREATE_WITH_FILE); |