summaryrefslogtreecommitdiffstats
path: root/qtools/qcstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qcstring.h')
-rw-r--r--qtools/qcstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qcstring.h b/qtools/qcstring.h
index a998fef..acb9c13 100644
--- a/qtools/qcstring.h
+++ b/qtools/qcstring.h
@@ -511,7 +511,7 @@ QCString substitute(const QCString &s,const QCString &src,const QCString &dst,in
inline QCString substitute(const QCString &s,char srcChar,char dstChar)
{
std::string ss = s.str();
- ss.replace(ss.begin(),ss.end(),srcChar,dstChar);
+ std::replace(ss.begin(),ss.end(),srcChar,dstChar);
return ss;
}