fgerlits commented on code in PR #1589:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1589#discussion_r1265626062


##########
libminifi/include/core/ProcessContext.h:
##########
@@ -102,18 +103,44 @@ class ProcessContext : public 
controller::ControllerServiceLookup, public core::
     return value;
   }
 
+  template<typename T = std::string>
+  std::enable_if_t<std::is_default_constructible<T>::value, std::optional<T>>
+  getProperty(const PropertyReference& property) const {

Review Comment:
   done in 1f8b8afb8ec970de037384b8af85081fcd370bd1
   
   I have also un-templatized another pair of `getProperty()` overloads which 
were only ever used with `T = std::string`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to