diff --git a/src/app/clusters/mode-select-server/mode-select-server.cpp b/src/app/clusters/mode-select-server/mode-select-server.cpp index e19be3a82dfaab..a53bf4a71967e5 100644 --- a/src/app/clusters/mode-select-server/mode-select-server.cpp +++ b/src/app/clusters/mode-select-server/mode-select-server.cpp @@ -49,7 +49,7 @@ using BootReasonType = GeneralDiagnostics::BootReasonEnum; static InteractionModel::Status verifyModeValue(const EndpointId endpointId, const uint8_t newMode); -ModeSelect::SupportedModesManager *sSupportedModesManager = nullptr; +ModeSelect::SupportedModesManager * sSupportedModesManager = nullptr; const SupportedModesManager * ModeSelect::getSupportedModesManager() { diff --git a/src/app/clusters/mode-select-server/supported-modes-manager.h b/src/app/clusters/mode-select-server/supported-modes-manager.h index d3ed1cb8bdb91a..72312685549389 100644 --- a/src/app/clusters/mode-select-server/supported-modes-manager.h +++ b/src/app/clusters/mode-select-server/supported-modes-manager.h @@ -34,6 +34,7 @@ class SupportedModesManager { using ModeOptionStructType = Structs::ModeOptionStruct::Type; + public: /** * A class that can return the supported ModeOptions for a specific endpoint. @@ -79,7 +80,6 @@ class SupportedModesManager const ModeOptionStructType ** dataPtr) const = 0; virtual ~SupportedModesManager() {} - }; const SupportedModesManager * getSupportedModesManager();