From c9afb3cbc5e0f7a76d5f2ce25f4afc9601be3d1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 3 May 2007 17:58:18 +0000 Subject: [PATCH] fixed passing raw unconverted strings through wxArgNormalizer<> for VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/strvararg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index 82f0039b08..9af6ace517 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -121,9 +121,9 @@ struct wxArgNormalizer // Returns the value in a form that can be safely passed to real vararg // functions. In case of strings, this is char* in ANSI build and wchar_t* // in Unicode build. - const T& get() const { return m_value; } + T get() const { return m_value; } - const T& m_value; + T m_value; }; // normalizer for passing arguments to functions working with wchar_t* (and -- 2.50.0