From 3ab2561089cbda74629191bde3fadbfc53e6eb14 Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Mon, 4 Aug 2025 08:43:24 +0000 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4movedir=5Fcore=E4=B8=ADstd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/movedir_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/movedir_core.cpp b/interfaces/kits/js/src/mod_fs/properties/movedir_core.cpp index f882c1aa2..c5e1449cf 100644 --- a/interfaces/kits/js/src/mod_fs/properties/movedir_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/movedir_core.cpp @@ -223,7 +223,7 @@ static int RecurMoveDir(const string &srcPath, const string &destPath, const int static int MoveDirFunc(const string &src, const string &dest, const int mode, deque &errfiles) { size_t found = string(src).rfind('/'); - if (found == std::string::npos) { + if (found == string::npos) { return EINVAL; } string dirName = string(src).substr(found); -- Gitee