adam-markovics commented on a change in pull request #1252:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1252#discussion_r799253747
##########
File path: libminifi/include/core/Repository.h
##########
@@ -118,12 +118,12 @@ class Repository : public virtual
core::SerializableComponent, public core::Trac
return found;
}
- void setConnectionMap(std::map<std::string,
std::shared_ptr<core::Connectable>> &connectionMap) {
- this->connectionMap = connectionMap;
+ void setConnectionMap(std::map<std::string, core::Connectable*>
connectionMap) {
+ this->connection_map_ = std::move(connectionMap);
}
- void setContainers(std::map<std::string, std::shared_ptr<core::Connectable>>
&containers) {
- this->containers = containers;
+ void setContainers(std::map<std::string, core::Connectable*> containers) {
+ this->containers_ = std::move(containers);
Review comment:
Done.
--
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]