X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f95abb9d3d603bb6478ed6ca8f73f42078f829b0..99bc1313918e09582e45b7437d0d1680caca88ac:/src/unix/stdpaths.cpp diff --git a/src/unix/stdpaths.cpp b/src/unix/stdpaths.cpp index 1c4bacc25e..3749968cc9 100644 --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -66,7 +66,7 @@ wxString wxStandardPaths::GetInstallPrefix() const { if ( m_prefix.empty() ) { - wx_const_cast(wxStandardPaths *, this)->m_prefix = wxT("/sys$system"); + const_cast(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(this); pathPtr->DetectPrefix(); }