From aeac39ac854ef5a8182fe8d77b7dcf928bcc4b8f Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Tue, 5 Aug 2025 08:45:33 +0000 Subject: [PATCH] =?UTF-8?q?1.2listfile=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E4=BD=9C=E7=94=A8=E5=9F=9F=E9=99=90=E5=AE=9A?= 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/listfile_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/listfile_core.cpp b/interfaces/kits/js/src/mod_fs/properties/listfile_core.cpp index a0f034ac4..eeb386527 100644 --- a/interfaces/kits/js/src/mod_fs/properties/listfile_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/listfile_core.cpp @@ -125,7 +125,7 @@ static bool FilterSuffix(const vector &suffixs, const struct dirent &fil } size_t found = string(filename.d_name).rfind('.'); - if (found == std::string::npos) { + if (found == string::npos) { return false; } string suffixStr = string(filename.d_name).substr(found); -- Gitee