From c45901746b6c9f9caf8e4754c67ec25657e2cae0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 6 Jul 2025 18:46:48 -0500 Subject: [PATCH] tweak --- esphome/core/scheduler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/core/scheduler.h b/esphome/core/scheduler.h index a9e2e62e5d..9ff6336bd5 100644 --- a/esphome/core/scheduler.h +++ b/esphome/core/scheduler.h @@ -149,8 +149,8 @@ class Scheduler { bool cancel_item_(Component *component, bool is_static_string, const void *name_ptr, SchedulerItem::Type type); // Helper function to check if item matches criteria for cancellation - bool HOT matches_item_(const std::unique_ptr &item, Component *component, const char *name_cstr, - SchedulerItem::Type type) { + inline bool HOT matches_item_(const std::unique_ptr &item, Component *component, const char *name_cstr, + SchedulerItem::Type type) { if (item->component != component || item->type != type || item->remove) { return false; }