diff options
Diffstat (limited to 'examples/Web_Crawler/URL_Addr.cpp')
-rw-r--r-- | examples/Web_Crawler/URL_Addr.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/examples/Web_Crawler/URL_Addr.cpp b/examples/Web_Crawler/URL_Addr.cpp index a49dfd2ac96..5a630e387fb 100644 --- a/examples/Web_Crawler/URL_Addr.cpp +++ b/examples/Web_Crawler/URL_Addr.cpp @@ -145,11 +145,9 @@ ACE_URL_Addr::ACE_URL_Addr (const ACE_URL_Addr &addr) int ACE_URL_Addr::set (const ACE_URL_Addr &addr) { - ACE_OS::free (ACE_reinterpret_cast (void *, - const_cast<ACE_TCHAR *> + ACE_OS::free (reinterpret_cast<void *> (const_cast<ACE_TCHAR *> (this->path_name_))); - ACE_OS::free (ACE_reinterpret_cast (void *, - const_cast<ACE_TCHAR *> + ACE_OS::free (reinterpret_cast<void *> (const_cast<ACE_TCHAR *> (this->addr_string_))); if (this->ACE_INET_Addr::set (addr) == -1) return -1; @@ -220,11 +218,9 @@ ACE_URL_Addr::get_path_name (void) const ACE_URL_Addr::~ACE_URL_Addr (void) { - ACE_OS::free (ACE_reinterpret_cast (void *, - const_cast<ACE_TCHAR *> + ACE_OS::free (reinterpret_cast<void *> (const_cast<ACE_TCHAR *> (this->path_name_))); - ACE_OS::free (ACE_reinterpret_cast (void *, - const_cast<ACE_TCHAR *> + ACE_OS::free (reinterpret_cast<void *> (const_cast<ACE_TCHAR *> (this->addr_string_))); this->path_name_ = 0; } |