We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f59e93 commit ca4799cCopy full SHA for ca4799c
libminifi/src/io/InputStream.cpp
@@ -70,7 +70,7 @@ size_t InputStream::read(std::string &str, bool widen) {
70
str.clear();
71
str.reserve(string_length);
72
73
- auto bytes_to_read = string_length;
+ size_t bytes_to_read{string_length};
74
auto zero_return_retry_count = 0;
75
while (bytes_to_read > 0) {
76
std::vector<std::byte> buffer(bytes_to_read);
0 commit comments