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:
[email protected]
With regards,
Apache Git Services