]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stdpaths.cpp
correct bug with using uninitialized end variable (unused variable warnings are not...
[wxWidgets.git] / src / os2 / stdpaths.cpp
index 98cf196f241f3a38be6c21fb88bd75aefe24cb92..f7ba58488bb956b6a117a3908f8182f81738acda 100644 (file)
@@ -54,7 +54,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
 {
     if ( m_prefix.empty() )
     {
 {
     if ( m_prefix.empty() )
     {
-        wxStandardPaths *self = wx_const_cast(wxStandardPaths *, this);
+        wxStandardPaths *self = const_cast<wxStandardPaths *>(this);
 
         self->m_prefix = _T("/usr/local");
     }
 
         self->m_prefix = _T("/usr/local");
     }