From 35aff208ac870d72463137a653f8d9e19c2acf31 Mon Sep 17 00:00:00 2001 From: mideayanghui Date: Fri, 22 Dec 2023 19:09:48 +0800 Subject: [PATCH] remove unuseful namespace --- .../all-clusters-common/src/operational-state-delegate-impl.cpp | 2 +- .../all-clusters-app/ameba/main/OperationalStateManager.cpp | 2 +- examples/chef/common/chef-rvc-operational-state-delegate.cpp | 2 +- .../dishwasher-common/src/operational-state-delegate-impl.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/src/operational-state-delegate-impl.cpp b/examples/all-clusters-app/all-clusters-common/src/operational-state-delegate-impl.cpp index b6694c492c55b8..02bcd4a775a07e 100644 --- a/examples/all-clusters-app/all-clusters-common/src/operational-state-delegate-impl.cpp +++ b/examples/all-clusters-app/all-clusters-common/src/operational-state-delegate-impl.cpp @@ -39,7 +39,7 @@ CHIP_ERROR GenericOperationalStateDelegateImpl::GetOperationalPhaseAtIndex(size_ { return CHIP_ERROR_NOT_FOUND; } - return CopyCharSpanToMutableCharSpan(GenericOperationalStateDelegateImpl::mOperationalPhaseList[index], operationalPhase); + return CopyCharSpanToMutableCharSpan(mOperationalPhaseList[index], operationalPhase); } void GenericOperationalStateDelegateImpl::HandlePauseStateCallback(GenericOperationalError & err) diff --git a/examples/all-clusters-app/ameba/main/OperationalStateManager.cpp b/examples/all-clusters-app/ameba/main/OperationalStateManager.cpp index a5d928571a6eeb..8dbeda60d75526 100644 --- a/examples/all-clusters-app/ameba/main/OperationalStateManager.cpp +++ b/examples/all-clusters-app/ameba/main/OperationalStateManager.cpp @@ -39,7 +39,7 @@ CHIP_ERROR GenericOperationalStateDelegateImpl::GetOperationalPhaseAtIndex(size_ { return CHIP_ERROR_NOT_FOUND; } - return CopyCharSpanToMutableCharSpan(GenericOperationalStateDelegateImpl::mOperationalPhaseList[index], operationalPhase); + return CopyCharSpanToMutableCharSpan(mOperationalPhaseList[index], operationalPhase); } void GenericOperationalStateDelegateImpl::HandlePauseStateCallback(GenericOperationalError & err) diff --git a/examples/chef/common/chef-rvc-operational-state-delegate.cpp b/examples/chef/common/chef-rvc-operational-state-delegate.cpp index 74aa4207a91f83..9e376567b10f48 100644 --- a/examples/chef/common/chef-rvc-operational-state-delegate.cpp +++ b/examples/chef/common/chef-rvc-operational-state-delegate.cpp @@ -43,7 +43,7 @@ CHIP_ERROR GenericOperationalStateDelegateImpl::GetOperationalPhaseAtIndex(size_ { return CHIP_ERROR_NOT_FOUND; } - return CopyCharSpanToMutableCharSpan(GenericOperationalStateDelegateImpl::mOperationalPhaseList[index], operationalPhase); + return CopyCharSpanToMutableCharSpan(mOperationalPhaseList[index], operationalPhase); } void GenericOperationalStateDelegateImpl::HandlePauseStateCallback(GenericOperationalError & err) diff --git a/examples/dishwasher-app/dishwasher-common/src/operational-state-delegate-impl.cpp b/examples/dishwasher-app/dishwasher-common/src/operational-state-delegate-impl.cpp index 0067c31b35c46a..a4462217b7904c 100644 --- a/examples/dishwasher-app/dishwasher-common/src/operational-state-delegate-impl.cpp +++ b/examples/dishwasher-app/dishwasher-common/src/operational-state-delegate-impl.cpp @@ -38,7 +38,7 @@ CHIP_ERROR OperationalStateDelegate::GetOperationalPhaseAtIndex(size_t index, Mu { return CHIP_ERROR_NOT_FOUND; } - return CopyCharSpanToMutableCharSpan(OperationalStateDelegate::mOperationalPhaseList[index], operationalPhase); + return CopyCharSpanToMutableCharSpan(mOperationalPhaseList[index], operationalPhase); } void OperationalStateDelegate::HandlePauseStateCallback(GenericOperationalError & err)