From a86ed6de5796c43a940c6d320016426f4173088c Mon Sep 17 00:00:00 2001 From: yunhanw Date: Thu, 27 Jun 2024 19:44:42 -0700 Subject: [PATCH] fix compilation error --- .../clusters/icd-management-server/icd-management-server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/clusters/icd-management-server/icd-management-server.cpp b/src/app/clusters/icd-management-server/icd-management-server.cpp index 6cef08ed7bd5ff..24862b8554a367 100644 --- a/src/app/clusters/icd-management-server/icd-management-server.cpp +++ b/src/app/clusters/icd-management-server/icd-management-server.cpp @@ -253,7 +253,7 @@ Status ICDManagementServer::RegisterClient(CommandHandler * commandObj, const Co FabricIndex fabricIndex = commandObj->GetAccessingFabricIndex(); NodeId nodeId = commandData.checkInNodeID; uint64_t monitoredSubject = commandData.monitoredSubject; - Optional clientType = commandData.clientType; + Optional clientType = Optional(commandData.clientType); ByteSpan key = commandData.key; Optional verificationKey = commandData.verificationKey; bool isClientAdmin = false;