mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 18:20:35 +03:00
Fix remaining marked as done const* cppcheck warnings
This commit is contained in:
@@ -315,7 +315,7 @@ bool hasInEdgeTops(const NGHolder &g, NFAVertex v) {
|
||||
|
||||
/** Transform (1), removal of redundant vertices. */
|
||||
static
|
||||
bool doUselessMergePass(NGHolder &g, som_type som, VertexInfoMap &infoMap,
|
||||
bool doUselessMergePass(const NGHolder &g, const som_type som, VertexInfoMap &infoMap,
|
||||
set<NFAVertex> &removable) {
|
||||
/* useless merges can be done in any order, no need to take any care with
|
||||
* ordering */
|
||||
|
||||
@@ -1978,7 +1978,7 @@ vector<NFAVertex> makeOwnStraw(NGHolder &g, const BoundedRepeatData &rd,
|
||||
* rewire the straw to start instead of removing the startDs self-loop.
|
||||
*/
|
||||
static
|
||||
bool improveLeadingRepeatOutfix(NGHolder &g, BoundedRepeatData &rd,
|
||||
bool improveLeadingRepeatOutfix(NGHolder &g, const BoundedRepeatData &rd,
|
||||
unordered_set<NFAVertex> &created,
|
||||
const vector<BoundedRepeatData> &all_repeats) {
|
||||
assert(g.kind == NFA_OUTFIX);
|
||||
|
||||
Reference in New Issue
Block a user