Refactoring; Avoid template<>
This commit is contained in:
parent
2b336ac147
commit
0de19acd43
|
@ -36,8 +36,7 @@ struct PathAnalysis {
|
|||
return Progress::Continue;
|
||||
});
|
||||
}
|
||||
template<class Predicate>
|
||||
Info forwardFind(Predicate pred) {
|
||||
Info forwardFind(std::function<bool(const Info&)> pred) {
|
||||
Info result{};
|
||||
forward([&](const Info& info) {
|
||||
if (pred(info)) {
|
||||
|
|
Loading…
Reference in New Issue