projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wxURL::GetInputStream() for URLs with special characters in credentials (closes...
[wxWidgets.git]
/
src
/
unix
/
stdpaths.cpp
diff --git
a/src/unix/stdpaths.cpp
b/src/unix/stdpaths.cpp
index 1c4bacc25e75342f785391091af39d93302732d3..3749968cc92c782923da954171b8ce2aa55053f9 100644
(file)
--- a/
src/unix/stdpaths.cpp
+++ b/
src/unix/stdpaths.cpp
@@
-66,7
+66,7
@@
wxString wxStandardPaths::GetInstallPrefix() const
{
if ( m_prefix.empty() )
{
{
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;
}
return m_prefix;
@@
-173,7
+173,7
@@
wxString wxStandardPaths::GetInstallPrefix() const
{
if ( m_prefix.empty() )
{
{
if ( m_prefix.empty() )
{
- wxStandardPaths *pathPtr =
wx_const_cast(wxStandardPaths *,
this);
+ wxStandardPaths *pathPtr =
const_cast<wxStandardPaths *>(
this);
pathPtr->DetectPrefix();
}
pathPtr->DetectPrefix();
}