hunyadi-dev commented on a change in pull request #865:
URL: https://github.com/apache/nifi-minifi-cpp/pull/865#discussion_r469087848
##########
File path: libminifi/include/core/ProcessGroup.h
##########
@@ -199,10 +199,26 @@ class ProcessGroup {
void removeProcessGroup(ProcessGroup *child);
// ! Add connections
void addConnection(std::shared_ptr<Connection> connection);
+ // Generic find
+ template <typename Fun>
+ std::shared_ptr<Processor> findProcessor(Fun&& condition) const {
Review comment:
No, you are right, I realized that I could not forward here, so I
removed the syntax for it, but left the &&.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]