adam-markovics commented on a change in pull request #1252: URL: https://github.com/apache/nifi-minifi-cpp/pull/1252#discussion_r813096443
########## File path: libminifi/include/FlowController.h ########## @@ -87,13 +91,8 @@ class FlowController : public core::controller::ForwardingControllerServiceProvi return this->provenance_repo_; } - // Get the flowfile repository - virtual std::shared_ptr<core::Repository> getFlowFileRepository() { - return this->flow_file_repo_; - } - // Load flow xml from disk, after that, create the root process group and its children, initialize the flows - virtual void load(const std::shared_ptr<core::ProcessGroup> &root = nullptr, bool reload = false); + virtual void load(std::unique_ptr<core::ProcessGroup>&& root = nullptr, bool reload = false); Review comment: Okay, this makes sense. I will use by value more from now on. Changes will be pushed soon, I'm building and testing them. -- 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: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org