From 69ea41a788381b93135a583f546112c1e1345447 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 14 Feb 2005 05:51:52 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/corefoundation/cfstring.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/include/wx/mac/corefoundation/cfstring.h b/include/wx/mac/corefoundation/cfstring.h index 23e2f8d75b..428e5c8c14 100644 --- a/include/wx/mac/corefoundation/cfstring.h +++ b/include/wx/mac/corefoundation/cfstring.h @@ -32,23 +32,20 @@ void wxMacWakeUp() ; class wxMacCFStringHolder { public: - wxMacCFStringHolder() + wxMacCFStringHolder() + : m_cfs(NULL) , m_release(false) { - m_cfs = NULL ; - m_release = false ; } wxMacCFStringHolder(const wxString &str , wxFontEncoding encoding ) + : m_cfs(NULL) , m_release(false) { - m_cfs = NULL ; - m_release = false ; Assign( str , encoding ) ; } wxMacCFStringHolder(CFStringRef ref , bool release = true ) + : m_cfs(ref) , m_release(release) { - m_cfs = ref ; - m_release = release ; } ~wxMacCFStringHolder() @@ -80,5 +77,7 @@ private: CFStringRef m_cfs; bool m_release ; + + DECLARE_NO_COPY_CLASS( wxMacCFStringHolder ) } ; -- 2.50.0