mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 01:12:15 +03:00
Merge branch 'develop' into test-noExplicitConstructor
This commit is contained in:
@@ -290,7 +290,7 @@ void maskSetBits(Mask &m, const NFAStateSet &bits) {
|
||||
|
||||
template<class Mask>
|
||||
bool isMaskZero(Mask &m) {
|
||||
u8 *m8 = (u8 *)&m;
|
||||
const u8 *m8 = (u8 *)&m;
|
||||
for (u32 i = 0; i < sizeof(m); i++) {
|
||||
if (m8[i]) {
|
||||
return false;
|
||||
@@ -1702,7 +1702,7 @@ struct Factory {
|
||||
static
|
||||
void allocState(NFA *nfa, u32 repeatscratchStateSize,
|
||||
u32 repeatStreamState) {
|
||||
implNFA_t *limex = (implNFA_t *)getMutableImplNfa(nfa);
|
||||
const implNFA_t *limex = (implNFA_t *)getMutableImplNfa(nfa);
|
||||
|
||||
// LimEx NFAs now store the following in state:
|
||||
// 1. state bitvector (always present)
|
||||
|
||||
Reference in New Issue
Block a user