ng_corpus_generator: use std::next, not boost::next

This commit is contained in:
Justin Viiret 2017-03-08 10:42:28 +11:00 committed by Matthew Barr
parent 037e39b6f5
commit 26ec7dd332

View File

@ -194,7 +194,7 @@ void findPaths(const NGHolder &g, CorpusProperties &cProps,
// If we've got no further adjacent vertices, re-use p rather than
// copying it for the next path.
unique_ptr<VertexPath> new_path;
if (boost::next(ai) == ae) {
if (std::next(ai) == ae) {
new_path = std::move(p);
} else {
new_path = make_unique<VertexPath>(*p);