Cosmetics: Make member variables const

This commit is contained in:
Robert Schulze 2022-06-24 15:21:32 +02:00
parent 2ebfd01c2e
commit 072e0855a8
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 4 additions and 4 deletions

View File

@ -143,8 +143,8 @@ public:
}
private:
size_t max_hyperscan_regexp_length;
size_t max_hyperscan_regexp_total_length;
const size_t max_hyperscan_regexp_length;
const size_t max_hyperscan_regexp_total_length;
};
}

View File

@ -134,8 +134,8 @@ public:
}
private:
size_t max_hyperscan_regexp_length;
size_t max_hyperscan_regexp_total_length;
const size_t max_hyperscan_regexp_length;
const size_t max_hyperscan_regexp_total_length;
};
}