Skip to content

Commit

Permalink
Restyle
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Dec 18, 2024
1 parent 0d0f93c commit 3d41548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/data-model-provider/MetadataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class ProviderMetadataTree
return std::make_unique<NullMetadataIterator<EndpointId, EndpointInfo>>();
}
virtual std::unique_ptr<ElementIterator<DeviceTypeEntry>> GetDeviceTypes(EndpointId endpointId) = 0;
virtual std::unique_ptr<ElementIterator<SemanticTag>> GetSemanticTags(EndpointId endpointId) = 0;
virtual std::unique_ptr<ElementIterator<SemanticTag>> GetSemanticTags(EndpointId endpointId) = 0;

virtual std::unique_ptr<MetaDataIterator<ClusterId, ClusterInfo>> GetServerClusters(EndpointId endpointId)
{
Expand Down
4 changes: 2 additions & 2 deletions src/data-model-providers/codegen/CodegenDataModelProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ class SemanticTagIterator : public DataModel::ElementIterator<DataModel::Provide
private:
const EndpointId mEndpointId;
size_t mIndex = 0;

};

DefaultAttributePersistenceProvider gDefaultAttributePersistence;
Expand Down Expand Up @@ -866,7 +865,8 @@ CodegenDataModelProvider::GetDeviceTypes(EndpointId endpointId)
return std::make_unique<DeviceTypeEntryIterator>(emberAfDeviceTypeListFromEndpointIndex(*endpoint_index, err));
}

std::unique_ptr<DataModel::ElementIterator<DataModel::Provider::SemanticTag>> CodegenDataModelProvider::GetSemanticTags(EndpointId endpointId)
std::unique_ptr<DataModel::ElementIterator<DataModel::Provider::SemanticTag>>
CodegenDataModelProvider::GetSemanticTags(EndpointId endpointId)
{
return std::make_unique<SemanticTagIterator>(endpointId);
}
Expand Down

0 comments on commit 3d41548

Please sign in to comment.