]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
ng_corpus_generator: use std::next, not boost::next
authorJustin Viiret <justin.viiret@intel.com>
Tue, 7 Mar 2017 23:42:28 +0000 (10:42 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 05:17:03 +0000 (15:17 +1000)
util/ng_corpus_generator.cpp

index 8692a3234a9f5803f2fd6bdf73889cd6a6903e8d..f2e8f7f9456d3e16fc160f884025165823968b50 100644 (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);