Skip to content

Commit

Permalink
This seems to save even more
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jan 15, 2025
1 parent 764095f commit 7f4308f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/AttributeValueEncoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class AttributeValueEncoder
// - we should figure where the extra const override is used
// - we should try to avoid having such footguns. This list template-explosion seems
// dangerous for flash.
CHIP_ERROR Encode(uint32_t const & aArg) const { return Encode((uint32_t &) aArg); }
inline CHIP_ERROR Encode(uint32_t const & aArg) const { return Encode((uint32_t) aArg); }
inline CHIP_ERROR Encode(uint32_t & aArg) const { return Encode((uint32_t) aArg); }

private:
AttributeValueEncoder & mAttributeValueEncoder;
Expand Down

0 comments on commit 7f4308f

Please sign in to comment.