nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi-minifi-cpp] arpadboda commented on a change in pull request #710: MINIFICPP - 1110, 1111 - PublishKafka, OPC processors should config and
Date Thu, 06 Feb 2020 15:18:47 GMT
arpadboda commented on a change in pull request #710: MINIFICPP - 1110,1111 - PublishKafka,
OPC processors should config and
URL: https://github.com/apache/nifi-minifi-cpp/pull/710#discussion_r375896103
 
 

 ##########
 File path: libminifi/test/integration/IntegrationBase.h
 ##########
 @@ -42,6 +42,17 @@ class IntegrationBase {
     configureSecurity();
   }
 
+  // Return the last position and number of occurrences.
+  std::pair<size_t, uint32_t> countPatInStr(const std::string &str, const std::string
&pattern) {
+    size_t last_pos = 0;
+    unsigned int occurrences = 0;
 
 Review comment:
   I'm fine with size_t as well, I don't really mind which one we choose, just make sure it's
consistent. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message