diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-27 10:50:21 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-27 10:50:21 +0100 |
commit | 0a641f5931481f5b13a4ea54877539fb7dc5fd55 (patch) | |
tree | 3f8b1b656f1ee34e43e9e74c9f6bf75b13a3a63f /ACE/protocols | |
parent | 8a81a8f16cc4d46a54f235c41d70935289bbfee8 (diff) | |
download | ATCD-0a641f5931481f5b13a4ea54877539fb7dc5fd55.tar.gz |
Fixed compile warnings
* ACE/protocols/ace/RMCast/Acknowledge.cpp:
* ACE/protocols/ace/RMCast/Protocol.h:
* ACE/tests/Memcpy_Test.cpp:
Diffstat (limited to 'ACE/protocols')
-rw-r--r-- | ACE/protocols/ace/RMCast/Acknowledge.cpp | 6 | ||||
-rw-r--r-- | ACE/protocols/ace/RMCast/Protocol.h | 2 |
2 files changed, 4 insertions, 4 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. // diff --git a/ACE/protocols/ace/RMCast/Protocol.h b/ACE/protocols/ace/RMCast/Protocol.h index 41277b397e4..ce36bffc407 100644 --- a/ACE/protocols/ace/RMCast/Protocol.h +++ b/ACE/protocols/ace/RMCast/Protocol.h @@ -138,7 +138,7 @@ namespace ACE_RMCast private: Profile& - operator= (Profile const&); + operator= (Profile const&) = delete; public: u16 |