[template.datetime] Avoid heap allocation for triggers (#13710)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user