diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-29 11:35:23 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-04-29 11:35:23 +0200 |
commit | e34b94be98ca81f5a9640b896e1cf983bb3ea768 (patch) | |
tree | b4ac664ddc2ce39519ba8703a86767c0a4c9e47f /ACE/performance-tests | |
parent | ae4bd945a234a175b54dafb1cb54678b7cc67639 (diff) | |
download | ATCD-e34b94be98ca81f5a9640b896e1cf983bb3ea768.tar.gz |
Make use of delete
* ACE/performance-tests/TCP/tcp_test.cpp:
* ACE/performance-tests/UDP/udp_test.cpp:
* ACE/tests/Token_Strategy_Test.cpp:
* TAO/orbsvcs/examples/ImR/Combined_Service/dynserver.h:
Diffstat (limited to 'ACE/performance-tests')
-rw-r--r-- | ACE/performance-tests/TCP/tcp_test.cpp | 6 | ||||
-rw-r--r-- | ACE/performance-tests/UDP/udp_test.cpp | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/ACE/performance-tests/TCP/tcp_test.cpp b/ACE/performance-tests/TCP/tcp_test.cpp index 8fcded26040..ce04311b7e4 100644 --- a/ACE/performance-tests/TCP/tcp_test.cpp +++ b/ACE/performance-tests/TCP/tcp_test.cpp @@ -304,9 +304,9 @@ private: /// Receives datagrams. ACE_SOCK_Stream endpoint_; - ACE_UNIMPLEMENTED_FUNC (Server (void)) - ACE_UNIMPLEMENTED_FUNC (Server (const Server &)) - ACE_UNIMPLEMENTED_FUNC (Server &operator= (const Server &)) + Server (void) = delete; + Server (const Server &) = delete; + Server &operator= (const Server &) = delete; }; Server::Server (const ACE_INET_Addr &addr) diff --git a/ACE/performance-tests/UDP/udp_test.cpp b/ACE/performance-tests/UDP/udp_test.cpp index cb6793475ee..753f9f15fcd 100644 --- a/ACE/performance-tests/UDP/udp_test.cpp +++ b/ACE/performance-tests/UDP/udp_test.cpp @@ -117,9 +117,9 @@ private: /// The address to send messages to. ACE_INET_Addr remote_addr_; - ACE_UNIMPLEMENTED_FUNC (Client (void)) - ACE_UNIMPLEMENTED_FUNC (Client (const Client &)) - ACE_UNIMPLEMENTED_FUNC (Client &operator= (const Client &)) + Client (void) = delete; + Client (const Client &) = delete; + Client &operator= (const Client &) = delete; }; Client::Client (const ACE_INET_Addr &addr, @@ -481,9 +481,9 @@ private: /// Receives datagrams. ACE_SOCK_Dgram endpoint_; - ACE_UNIMPLEMENTED_FUNC (Server (void)) - ACE_UNIMPLEMENTED_FUNC (Server (const Server &)) - ACE_UNIMPLEMENTED_FUNC (Server &operator= (const Server &)) + Server (void) = delete; + Server (const Server &) = delete; + Server &operator= (const Server &) = delete; }; Server::Server (const ACE_INET_Addr &addr) |