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 andy31415 committed Oct 9, 2024
1 parent 38e3bdb commit e497eec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/app/CommandHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ Status CommandHandlerImpl::ProcessCommandDataIB(CommandDataIB::Parser & aCommand
{
DataModel::InvokeRequest request;

request.path = concretePath;
request.subjectDescriptor = GetSubjectDescriptor();
request.path = concretePath;
request.subjectDescriptor = GetSubjectDescriptor();
request.invokeFlags.Set(DataModel::InvokeFlags::kTimed, IsTimedInvoke());

Status preCheckStatus = mpCallback->ValidateCommandCanBeDispatched(request);
Expand Down Expand Up @@ -515,8 +515,8 @@ Status CommandHandlerImpl::ProcessGroupCommandDataIB(CommandDataIB::Parser & aCo
{
DataModel::InvokeRequest request;

request.path = concretePath;
request.subjectDescriptor = GetSubjectDescriptor();
request.path = concretePath;
request.subjectDescriptor = GetSubjectDescriptor();
request.invokeFlags.Set(DataModel::InvokeFlags::kTimed, IsTimedInvoke());

Status preCheckStatus = mpCallback->ValidateCommandCanBeDispatched(request);
Expand Down
3 changes: 2 additions & 1 deletion src/app/data-model-provider/OperationTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ struct OperationRequest
/// This is a readability convenience function.
///
/// Returns kUndefinedFabricIndex if no subject descriptor is available
FabricIndex GetAccessingFabricIndex() const {
FabricIndex GetAccessingFabricIndex() const
{
return subjectDescriptor.has_value() ? subjectDescriptor->fabricIndex : kUndefinedFabricIndex;
}
};
Expand Down

0 comments on commit e497eec

Please sign in to comment.