This commit is contained in:
J. Nick Koston
2025-06-06 12:04:50 +01:00
parent a89aaaf69a
commit a6f75ce357

View File

@@ -1717,7 +1717,7 @@ void APIConnection::DeferredBatch::add_item(EntityBase *entity, MessageCreator c
}
// No existing item found, add new one
items.push_back({entity, std::move(creator), App.get_loop_component_start_time(), message_type});
items.emplace_back(entity, std::move(creator), App.get_loop_component_start_time(), message_type);
}
bool APIConnection::schedule_batch_() {