diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp b/TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp index 8d8bb055f34..c75a790f8c5 100644 --- a/TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp +++ b/TAO/orbsvcs/tests/Notify/Blocking/Structured_Supplier.cpp @@ -2,7 +2,6 @@ // Include Section // ****************************************************************** -#include "ace/Auto_Ptr.h" #include "ace/Get_Opt.h" #include "tao/ORB_Core.h" @@ -17,6 +16,7 @@ #include "Notify_Test_Client.h" #include "ace/OS_NS_unistd.h" +#include <memory> // ****************************************************************** // Data Section @@ -38,12 +38,12 @@ public: { } - void go (void) + void go () { started_ = true; } - void done (void) + void done () { started_ = false; } @@ -164,7 +164,7 @@ create_suppliers (CosNotifyChannelAdmin::SupplierAdmin_ptr admin, int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { int status = 0; - ACE_Auto_Ptr< sig_i > sig_impl; + std::unique_ptr<sig_i> sig_impl; try { Supplier_Client client; @@ -178,7 +178,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) CORBA::ORB_ptr orb = client.orb (); // Activate the signaler with the POA - sig_impl.reset( new sig_i( orb ) ); + sig_impl.reset( new sig_i(orb)); sig_var sig = sig_impl->_this (); CORBA::String_var ior = |