auto pl = std::make_unique<ParsedLogical>();
pl->parseLogicalCombination(id, re.c_str(), ~0U, 0, ~0ULL);
pl->logicalKeyRenumber();
- cng = make_unique<CompiledNG>(move(pl));
+ cng = make_unique<CompiledNG>(std::move(pl));
return;
}
}
}
- cng = make_unique<CompiledNG>(move(g), move(rm));
+ cng = make_unique<CompiledNG>(std::move(g), std::move(rm));
} catch (CompileError &e) {
throw NGCompileFailure(e.reason);
} catch (NGUnsupportedFailure &e) {
CorpusGenUnit(unique_ptr<CNGInfo> cngi_in, unique_ptr<CompiledPcre> pcre_in,
shared_ptr<DatabaseProxy> ue2_in, unsigned expr_id,
bool multi_in, bool utf8_in)
- : cngi(move(cngi_in)), pcre(move(pcre_in)), ue2(ue2_in), id(expr_id),
+ : cngi(std::move(cngi_in)), pcre(std::move(pcre_in)), ue2(ue2_in), id(expr_id),
multi(multi_in), utf8(utf8_in) {}
unique_ptr<CNGInfo> cngi;
}
addCorporaToQueue(out, testq, c->id, *corpora, summary,
- move(c->pcre), move(c->cngi), c->ue2, c->multi,
+ std::move(c->pcre), std::move(c->cngi), c->ue2, c->multi,
c->utf8);
count++;
// Caller may already have set the UTF-8 property (in multi cases)
utf8 |= cpcre ? cpcre->utf8 : cngi->utf8;
- return std::make_unique<CorpusGenUnit>(move(cngi), move(cpcre), ue2, id,
+ return std::make_unique<CorpusGenUnit>(std::move(cngi), std::move(cpcre), ue2, id,
multi, utf8);
}
auto u = makeCorpusGenUnit(id, summary, ground, graph, ultimate, ue2,
multi, utf8);
if (u) {
- corpq.push(move(u));
+ corpq.push(std::move(u));
}
}
}
auto u = makeCorpusGenUnit(id, summary, ground, graph, ultimate,
ue2, multi, utf8);
if (u) {
- corpq.push(move(u));
+ corpq.push(std::move(u));
}
}
}
auto u = makeCorpusGenUnit(id, summary, ground, graph, ultimate, ue2,
multi, utf8);
if (u) {
- corpq.push(move(u));
+ corpq.push(std::move(u));
}
}
}
for (size_t i = 0; i < numGeneratorThreads; i++) {
auto c = make_unique<CorpusGenThread>(i, testq, corpq, corpora_src);
c->start();
- generators.push_back(move(c));
+ generators.push_back(std::move(c));
}
if (g_ue2CompileAll && multicompile_bands) {
exit_with_fail();
}
}
- return move(c); /* move allows unique_ptr<CorporaSource> conversion */
+ return std::move(c); /* move allows unique_ptr<CorporaSource> conversion */
} else {
auto c = std::make_unique<NfaGeneratedCorpora>(
exprMap, corpus_gen_prop, force_utf8, force_prefilter);
- return move(c);
+ return std::move(c);
}
}
for (size_t i = 0; i < numScannerThreads; i++) {
auto s = std::make_unique<ScanThread>(i, testq, exprMap, plat, grey);
s->start();
- scanners.push_back(move(s));
+ scanners.push_back(std::move(s));
}
generateTests(corpora_source, exprMap, summary, plat, grey, testq);