mirror of
https://github.com/esphome/esphome.git
synced 2025-11-01 07:31:51 +00:00
force inline
This commit is contained in:
@@ -38,7 +38,7 @@ class SelectCall {
|
||||
SelectCall &with_index(size_t index);
|
||||
|
||||
protected:
|
||||
optional<size_t> calculate_target_index_(const char *name);
|
||||
__attribute__((always_inline)) inline optional<size_t> calculate_target_index_(const char *name);
|
||||
|
||||
Select *const parent_;
|
||||
optional<size_t> index_;
|
||||
|
||||
Reference in New Issue
Block a user