[template.datetime] Avoid heap allocation for triggers (#13710)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-02-02 04:30:46 +00:00
1 parent 6727fe9040
commit bc9fc66225
6 files changed
+9 -9

No files matched your search

@@ -62,7 +62,7 @@ void TemplateDate::control(const datetime::DateCall &call) {
if (has_day)
value.day_of_month = *call.get_day();
this->set_trigger_->trigger(value);
this->set_trigger_.trigger(value);
if (this->optimistic_) {
if (has_year)