From b8e6a7bb37d04f1e974e231a5caffc1854cf7f41 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期四, 27 六月 2024 09:37:26 +0800 Subject: [PATCH] this update tree data item --- jrj/xframe/src/xstring.cpp | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/jrj/xframe/src/xstring.cpp b/jrj/xframe/src/xstring.cpp index 2fcb5dc..3bc27b1 100644 --- a/jrj/xframe/src/xstring.cpp +++ b/jrj/xframe/src/xstring.cpp @@ -595,7 +595,11 @@ return false; } -xstring xstring::replace(wchar_t* from, wchar_t* to, int pos) +xstring xstring::replace(const wchar_t* from, const wchar_t* to) +{ + return replace(from, to, 0); +} +xstring xstring::replace(const wchar_t* from, const wchar_t* to, int pos) { const wchar_t* pstr = c_str(); if (!pstr) return 0; -- Gitblit v1.9.3