diff --git a/lib/pathanalysis.h b/lib/pathanalysis.h index e335a8e74..126a6de60 100644 --- a/lib/pathanalysis.h +++ b/lib/pathanalysis.h @@ -29,13 +29,7 @@ struct PathAnalysis { }; void forward(const std::function& f) const; - template - void forwardAll(F f) { - forward([&](const Info& info) { - f(info); - return Progress::Continue; - }); - } + Info forwardFind(std::function pred) { Info result{}; forward([&](const Info& info) {