fgerlits commented on code in PR #1334:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1334#discussion_r887923878


##########
libminifi/src/core/Connectable.cpp:
##########
@@ -85,7 +69,7 @@ bool Connectable::isSupportedRelationship(const 
core::Relationship &relationship
   }
 }
 
-bool Connectable::setAutoTerminatedRelationships(const std::set<Relationship> 
&relationships) {
+bool Connectable::setAutoTerminatedRelationships(const 
std::vector<Relationship>& relationships) {

Review Comment:
   Unfortunately, initializer lists don't convert implicitly to `gsl::span`.  
Nevertheless, we used to create a `std::vector` (with elements on the heap) and 
now we only create a `std::array` (with elements on the stack).



-- 
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]

Reply via email to