From 56dc1d657b0d20cc48e7578dabe7ca3e769ee220 Mon Sep 17 00:00:00 2001 From: oh_ci Date: Wed, 28 May 2025 08:23:30 +0000 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!2839=20?= =?UTF-8?q?:=20=E9=98=B2=E6=9A=B4=E5=8A=9B=E7=A0=B4=E8=A7=A3=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../include/authentication_v2/dm_freeze_process.h | 2 +- .../implementation/src/authentication_v2/dm_freeze_process.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/implementation/include/authentication_v2/dm_freeze_process.h b/services/implementation/include/authentication_v2/dm_freeze_process.h index 3c254d4e2..7b844f5ad 100644 --- a/services/implementation/include/authentication_v2/dm_freeze_process.h +++ b/services/implementation/include/authentication_v2/dm_freeze_process.h @@ -71,7 +71,7 @@ private: int32_t CleanBindFailedEvents(int64_t reservedDataTimeStamp); int32_t CleanFreezeState(int64_t reservedDataTimeStamp); int32_t UpdateFreezeState(int64_t nowTime); - void CalculateNextFreezeTime(int64_t nowFreezeTime, int64_t &nextFreezeTime); + void CalculateNextFreezeTime(int64_t nowFreezeTime, int64_t nextFreezeTime); private: DeviceFreezeState freezeStateCache_; diff --git a/services/implementation/src/authentication_v2/dm_freeze_process.cpp b/services/implementation/src/authentication_v2/dm_freeze_process.cpp index 354073583..ff6b52d75 100644 --- a/services/implementation/src/authentication_v2/dm_freeze_process.cpp +++ b/services/implementation/src/authentication_v2/dm_freeze_process.cpp @@ -314,7 +314,7 @@ int32_t FreezeProcess::UpdateFreezeState(int64_t nowTime) return DM_OK; } -void FreezeProcess::CalculateNextFreezeTime(int64_t nowFreezeTime, int64_t &nextFreezeTime) +void FreezeProcess::CalculateNextFreezeTime(int64_t nowFreezeTime, int64_t nextFreezeTime) { switch (nowFreezeTime) { case NOT_FREEZE_TIME: -- Gitee