summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/RMCast/Acknowledge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/ace/RMCast/Acknowledge.cpp')
-rw-r--r--ACE/protocols/ace/RMCast/Acknowledge.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/protocols/ace/RMCast/Acknowledge.cpp b/ACE/protocols/ace/RMCast/Acknowledge.cpp
index af72bb9b519..a07977a6076 100644
--- a/ACE/protocols/ace/RMCast/Acknowledge.cpp
+++ b/ACE/protocols/ace/RMCast/Acknowledge.cpp
@@ -3,8 +3,8 @@
#include "ace/OS_NS_unistd.h"
#include "ace/OS_NS_stdlib.h" // abort
#include "ace/OS_NS_sys_time.h" // gettimeofday
-
#include "Acknowledge.h"
+#include <memory>
namespace ACE_RMCast
{
@@ -176,7 +176,7 @@ namespace ACE_RMCast
//
while (i != e)
{
- auto_ptr<NAK> nak (new NAK (addr));
+ std::unique_ptr<NAK> nak (new NAK (addr));
// Inner loop that fills NAK profile with up to max_elem elements.
//
@@ -350,7 +350,7 @@ namespace ACE_RMCast
{
// Prepare NRTM.
//
- auto_ptr<NRTM> nrtm (new NRTM ());
+ std::unique_ptr<NRTM> nrtm (new NRTM ());
// Gather the information.
//