[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

@@ -80,7 +80,7 @@ void TemplateDateTime::control(const datetime::DateTimeCall &call) {
if (has_second)
value.second = *call.get_second();
this->set_trigger_->trigger(value);
this->set_trigger_.trigger(value);
if (this->optimistic_) {
if (has_year)