mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
ng_corpus_generator: small fix for MSVC compat
This commit is contained in:
parent
187a4b82c2
commit
2d660ce4db
@ -140,7 +140,7 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps,
|
|||||||
const size_t MAX_OPEN = min((size_t)1000, corpusLimit * 10);
|
const size_t MAX_OPEN = min((size_t)1000, corpusLimit * 10);
|
||||||
|
|
||||||
vector<unique_ptr<VertexPath>> open;
|
vector<unique_ptr<VertexPath>> open;
|
||||||
open.push_back(ue2::make_unique<VertexPath>({g.start}));
|
open.push_back(ue2::make_unique<VertexPath>(1, g.start));
|
||||||
|
|
||||||
ue2::unordered_set<NFAVertex> one_way_in;
|
ue2::unordered_set<NFAVertex> one_way_in;
|
||||||
for (const auto &v : vertices_range(g)) {
|
for (const auto &v : vertices_range(g)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user