From e34b94be98ca81f5a9640b896e1cf983bb3ea768 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 29 Apr 2021 11:35:23 +0200 Subject: 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: --- ACE/performance-tests/TCP/tcp_test.cpp | 6 +++--- ACE/performance-tests/UDP/udp_test.cpp | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'ACE/performance-tests') 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) -- cgit v1.2.1