From 508c7fab13837fa57ef6c40e1c12780d9846f4ac Mon Sep 17 00:00:00 2001 From: wangbaidong Date: Tue, 27 May 2025 20:56:03 +0800 Subject: [PATCH] 0527 Signed-off-by: wangbaidong --- .../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 7b844f5ad..3c254d4e2 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 ff6b52d75..354073583 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