Github user phrocker commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/116#discussion_r125020236
  
    --- Diff: libminifi/src/core/ProcessSession.cpp ---
    @@ -626,6 +626,92 @@ bool keepSource,
       }
     }
     
    +void ProcessSession::import(std::string source, 
std::shared_ptr<std::vector<std::shared_ptr<FlowFileRecord>>> flows,
    --- End diff --
    
    Since the vector itself is pretty light weight the caller can put it on the 
stack and pass it in by reference to avoid the surrounding shared pointer. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to