diff --git a/lib/pathanalysis.h b/lib/pathanalysis.h index 3353c7b84..e335a8e74 100644 --- a/lib/pathanalysis.h +++ b/lib/pathanalysis.h @@ -36,8 +36,7 @@ struct PathAnalysis { return Progress::Continue; }); } - template - Info forwardFind(Predicate pred) { + Info forwardFind(std::function pred) { Info result{}; forward([&](const Info& info) { if (pred(info)) {