Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 2, 2022
1 parent ce7070c commit 2cbad1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class StaticSupportedModesManager : public chip::app::Clusters::ModeSelect::Supp
public:
static const StaticSupportedModesManager instance;

const SupportedModesManager::ModeOptionsProvider getModeOptionsProvider(EndpointId endpointId) const override;
SupportedModesManager::ModeOptionsProvider getModeOptionsProvider(EndpointId endpointId) const override;

EmberAfStatus getModeOptionByMode(EndpointId endpointId, uint8_t mode, const ModeOptionStructType ** dataPtr) const override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SupportedModesManager
* @param endpointId
* @return The mode options provider for the endpoint.
*/
virtual const ModeOptionsProvider getModeOptionsProvider(EndpointId endpointId) const = 0;
virtual ModeOptionsProvider getModeOptionsProvider(EndpointId endpointId) const = 0;

/**
* Given the endpointId and a mode value, find the ModeOptionStruct that matches the mode.
Expand Down

0 comments on commit 2cbad1d

Please sign in to comment.