Ferenc Gerlits created MINIFICPP-2441:
-----------------------------------------
Summary: 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
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)