From e63537310c40aa04d9186eefad95586def8593d3 Mon Sep 17 00:00:00 2001 From: jiangminsen Date: Thu, 23 Mar 2023 17:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AD=A6=E5=91=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jiangminsen --- .../innerkits/appverify/src/provision/provision_verify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp index 454efc2..e904c91 100644 --- a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp +++ b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp @@ -193,7 +193,7 @@ void ParseValidity(const json& obj, Validity& out) void ParseMetadata(const json& obj, ProvisionInfo& out) { if (IsObjectExist(obj, KEY_BASEAPP_INFO)) { - auto& baseAppInfo = obj[KEY_BASEAPP_INFO]; + const auto& baseAppInfo = obj[KEY_BASEAPP_INFO]; Metadata metadata; metadata.name = KEY_PACKAGE_NAME; GetStringIfExist(baseAppInfo, KEY_PACKAGE_NAME, metadata.value); -- Gitee