Description:修改调用erase方法返回值类型

Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source: No

Signed-off-by: dy <dingyao5@huawei.com>
This commit is contained in:
dy 2022-05-30 16:21:25 +08:00
parent 5626df23ef
commit 4f5f82295e

View File

@ -109,7 +109,7 @@ CallbackTaskItem DmsCallbackTask::PopCallback(int64_t taskId)
void DmsCallbackTask::PopContinuationMissionMap(int64_t taskId)
{
std::lock_guard<std::mutex> autoLock(callbackMapMutex_);
int32_t ret = continuationMissionMap_.erase(taskId);
uint32_t ret = continuationMissionMap_.erase(taskId);
if (ret != 1) {
HILOGW("GetContinuaionMissionId not found taskId:%{public}" PRId64 "!", taskId);
}