adam-markovics commented on a change in pull request #1252: URL: https://github.com/apache/nifi-minifi-cpp/pull/1252#discussion_r812918357
########## 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: I don't know what do you mean by "the implementation will have to move out from the parameter", because it's already have to be moved out. Anyways, I changed the parameter to be by-value. -- 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