mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
De-const the empty maps.
Clang 3.8 complains about attempting to default init const objects without a user-provided constructor.
This commit is contained in:
parent
1a81263744
commit
5021d7ab78
@ -851,8 +851,8 @@ u32 countAccelStates(const NGHolder &g, const ReportManager *rm,
|
||||
|
||||
// Should have no bearing on accel calculation, so we leave these empty.
|
||||
const set<NFAVertex> zombies;
|
||||
const unordered_map<NFAVertex, NFAStateSet> reportSquashMap;
|
||||
const unordered_map<NFAVertex, NFAStateSet> squashMap;
|
||||
unordered_map<NFAVertex, NFAStateSet> reportSquashMap;
|
||||
unordered_map<NFAVertex, NFAStateSet> squashMap;
|
||||
|
||||
return countAccelStates(*h, state_ids, repeats, reportSquashMap, squashMap,
|
||||
tops, zombies, cc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user