From f8b566215fc66958400ebc5aec447db2db9a0a1c Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Fri, 1 Aug 2025 08:11:03 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4std?= 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/lstat_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/lstat_core.cpp b/interfaces/kits/js/src/mod_fs/properties/lstat_core.cpp index cef683a91..ebcc83f54 100644 --- a/interfaces/kits/js/src/mod_fs/properties/lstat_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/lstat_core.cpp @@ -29,7 +29,7 @@ using namespace std; FsResult LstatCore::DoLstat(const string &path) { - std::unique_ptr lstat_req = { new (std::nothrow) uv_fs_t, + unique_ptr lstat_req = { new (std::nothrow) uv_fs_t, FsUtils::FsReqCleanup }; if (!lstat_req) { HILOGE("Failed to request heap memory."); -- Gitee