replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,7 +66,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
|
||||
{
|
||||
if ( m_prefix.empty() )
|
||||
{
|
||||
wx_const_cast(wxStandardPaths *, this)->m_prefix = wxT("/sys$system");
|
||||
const_cast<wxStandardPaths *>(this)->m_prefix = wxT("/sys$system");
|
||||
}
|
||||
|
||||
return m_prefix;
|
||||
@@ -173,7 +173,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
|
||||
{
|
||||
if ( m_prefix.empty() )
|
||||
{
|
||||
wxStandardPaths *pathPtr = wx_const_cast(wxStandardPaths *, this);
|
||||
wxStandardPaths *pathPtr = const_cast<wxStandardPaths *>(this);
|
||||
pathPtr->DetectPrefix();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user