[
https://issues.apache.org/jira/browse/MINIFICPP-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits reassigned MINIFICPP-2441:
-----------------------------------------
Assignee: James Guzman (Medel)
> Use to_array when creating Properties
> -------------------------------------
>
> Key: MINIFICPP-2441
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2441
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Ferenc Gerlits
> Assignee: James Guzman (Medel)
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When creating the static Properties member of Processor and ControllerService
> objects, we currently use the `std::array` template constructor directly to
> convert the PropertyDefinition objects to PropertyReference objects, which
> means we have to manually specify the number of properties. This works, but
> it isn't elegant. We could use the `std::to_array()` function to do the
> conversion instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)