Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and liangpy4 committed Nov 24, 2023
1 parent 4bb3cac commit 2e4456c
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,22 @@ CHIP_ERROR OperationalStateDelegate::GetOperationalPhaseAtIndex(size_t index, Ge
void OperationalStateDelegate::SetOpStatePauseCallback(
std::function<void(Clusters::OperationalState::GenericOperationalError & err)> aCallback)
{
mPauseCallback = Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
mPauseCallback =
Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
}

void OperationalStateDelegate::SetOpStateResumeCallback(
std::function<void(Clusters::OperationalState::GenericOperationalError & err)> aCallback)
{
mResumeCallback = Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
mResumeCallback =
Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
}

void OperationalStateDelegate::SetOpStateStartCallback(
std::function<void(Clusters::OperationalState::GenericOperationalError & err)> aCallback)
{
mStartCallback = Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
mStartCallback =
Platform::MakeUnique<std::function<void(Clusters::OperationalState::GenericOperationalError & err)>>(aCallback);
}

void OperationalStateDelegate::SetOpStateStopCallback(
Expand Down

0 comments on commit 2e4456c

Please sign in to comment.