From 143905afafa988abe2e236f517a97f85533960dc Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 16 Apr 2024 08:45:21 +0200 Subject: [PATCH] Revert "Use a variable on the stack to not have a temporary in the call" --- ACE/protocols/ace/INet/URLBase.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ACE/protocols/ace/INet/URLBase.cpp b/ACE/protocols/ace/INet/URLBase.cpp index 9f9517ace10..8814eb94dad 100644 --- a/ACE/protocols/ace/INet/URLBase.cpp +++ b/ACE/protocols/ace/INet/URLBase.cpp @@ -182,8 +182,7 @@ namespace ACE ACE_WString URL_Base::to_wstring () const { - ACE_Ascii_To_Wide ws(this->to_string().c_str ()); - return ws.wchar_rep (); + return ACE_Ascii_To_Wide (this->to_string().c_str ()).wchar_rep (); } URL_Base* URL_Base::create_from_wstring (const ACE_WString& url_string) -- 2.11.4.GIT