addressing 47 [constParameterReference],48 [constVariableReference],58

[constVariable]
This commit is contained in:
G.E
2024-05-01 10:54:15 +03:00
parent 6e306a508e
commit 9902ca0e34
40 changed files with 146 additions and 146 deletions

View File

@@ -281,7 +281,7 @@ public:
// Close all open Hyperscan streams (potentially generating any
// end-anchored matches)
void closeStreams() {
for (auto &stream : streams) {
for (const auto &stream : streams) {
hs_error_t err = hs_close_stream(stream, scratch, onMatch,
&matchCount);
if (err != HS_SUCCESS) {