From 3da59eac098c1ef9d2c98f2079185ff35c3b6105 Mon Sep 17 00:00:00 2001 From: Knut Petter Svendsen Date: Tue, 13 Sep 2022 22:57:39 +0200 Subject: Remove obsolescent (void) in functions with no parameters --- ACE/websvcs/lib/URL_Addr.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ACE/websvcs/lib/URL_Addr.h') diff --git a/ACE/websvcs/lib/URL_Addr.h b/ACE/websvcs/lib/URL_Addr.h index a3e2ba7ba40..2cf9fe638ff 100644 --- a/ACE/websvcs/lib/URL_Addr.h +++ b/ACE/websvcs/lib/URL_Addr.h @@ -34,7 +34,7 @@ class ACE_WEBSVCS_Export ACE_URL_Addr : public ACE_Addr { public: /// Constructor. - ACE_URL_Addr (void); + ACE_URL_Addr (); /// The copy constructor. ACE_URL_Addr (const ACE_URL_Addr& address); @@ -43,7 +43,7 @@ public: ACE_URL_Addr& operator= (const ACE_URL_Addr& address); /// destructor - virtual ~ACE_URL_Addr (void); + virtual ~ACE_URL_Addr (); /// Get the original URL const ACE_TCHAR *get_url () const; @@ -124,7 +124,7 @@ class ACE_WEBSVCS_Export ACE_URL_Addr_Visitor { public: /// Destructor - virtual ~ACE_URL_Addr_Visitor (void); + virtual ~ACE_URL_Addr_Visitor (); /** * The visit methods for all the hierarchy. @@ -159,7 +159,7 @@ class ACE_WEBSVCS_Export ACE_HTTP_Addr : public ACE_URL_Addr { public: /// Constructor - ACE_HTTP_Addr (void); + ACE_HTTP_Addr (); /// Construct an HTTP URL from the host, path, query and port. ACE_HTTP_Addr (const ACE_TCHAR *host_name, @@ -183,7 +183,7 @@ public: int set (const ACE_HTTP_Addr &addr); /// Destructor - virtual ~ACE_HTTP_Addr (void); + virtual ~ACE_HTTP_Addr (); /** * Build the INET_Address implicit in the URL, notice that we @@ -231,7 +231,7 @@ private: size_t url_size (int flags = 0) const; /// Helper method to cleanup resources - void clear (void); + void clear (); private: /// The host:port component in the URL @@ -262,7 +262,7 @@ class ACE_WEBSVCS_Export ACE_FTP_Addr : public ACE_URL_Addr { public: /// Constructor - ACE_FTP_Addr (void); + ACE_FTP_Addr (); /// Construct an FTP URL from the host_name, the path, the username /// and the password. @@ -287,7 +287,7 @@ public: int set (const ACE_FTP_Addr &addr); /// Destructor - virtual ~ACE_FTP_Addr (void); + virtual ~ACE_FTP_Addr (); /// Get the host name component in the URL const ACE_TCHAR *get_hostname () const; @@ -318,7 +318,7 @@ private: size_t url_size (int flags = 0) const; /// Helper method to release the internal resources - void clear (void); + void clear (); private: /// The login name @@ -345,7 +345,7 @@ class ACE_WEBSVCS_Export ACE_Mailto_Addr : public ACE_URL_Addr { public: /// Constructor - ACE_Mailto_Addr (void); + ACE_Mailto_Addr (); /// Construct an FTP URL from the host, path and headers. ACE_Mailto_Addr (const ACE_TCHAR *user, @@ -367,7 +367,7 @@ public: int set (const ACE_Mailto_Addr &addr); /// Destructor - virtual ~ACE_Mailto_Addr (void); + virtual ~ACE_Mailto_Addr (); /// Get the username component in the URL const ACE_TCHAR *get_user () const; @@ -395,7 +395,7 @@ private: size_t url_size (int flags = 0) const; /// Helper method to cleanup resources - void clear (void); + void clear (); private: ACE_TCHAR *user_; -- cgit v1.2.1