mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 10:34:25 +03:00
Various cppcheck fixes (#337)
This commit is contained in:
committed by
GitHub
parent
d90ab3ac1c
commit
689556d5f9
@@ -662,7 +662,7 @@ void buildTugTrigger(NGHolder &g, NFAVertex cyclic, NFAVertex v,
|
||||
}
|
||||
|
||||
static
|
||||
NFAVertex createCyclic(NGHolder &g, ReachSubgraph &rsi) {
|
||||
NFAVertex createCyclic(NGHolder &g, ReachSubgraph const &rsi) {
|
||||
NFAVertex last = rsi.vertices.back();
|
||||
NFAVertex cyclic = clone_vertex(g, last);
|
||||
add_edge(cyclic, cyclic, g);
|
||||
@@ -672,7 +672,7 @@ NFAVertex createCyclic(NGHolder &g, ReachSubgraph &rsi) {
|
||||
}
|
||||
|
||||
static
|
||||
NFAVertex createPos(NGHolder &g, ReachSubgraph &rsi) {
|
||||
NFAVertex createPos(NGHolder &g, ReachSubgraph const &rsi) {
|
||||
NFAVertex pos = add_vertex(g);
|
||||
NFAVertex first = rsi.vertices.front();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user