Skip to content

Commit

Permalink
Addressed comments by sharadb-amazon 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pgregorr-amazon committed Oct 4, 2024
1 parent ebcb5c0 commit e8b43e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/tv-casting-app/tv-casting-common/core/Endpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ class Endpoint : public std::enable_shared_from_this<Endpoint>
template <typename T>
void RegisterCluster(const chip::ClusterId clusterId)
{
ChipLogProgress(AppServer, "Endpoint::RegisterCluster() Registering clusterId %d for endpointId %d", clusterId, GetId());
static_assert(std::is_base_of<BaseCluster, T>::value, "T must be derived from BaseCluster");
auto cluster = std::make_shared<T>(shared_from_this());
cluster->SetUp();
Expand Down

0 comments on commit e8b43e6

Please sign in to comment.