Skip to content

Commit

Permalink
2023 graph: fix ProcessNeighbors argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed Mar 22, 2024
1 parent ae15fcb commit 6e1b562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2023/src/graph_traversal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ using maybe_unordered_map =
template <class Func, class Key>
concept ProcessNeighbors =
requires(Func process_neighbors, const Key &key,
std::function<void(const Key &key)> &handler) {
process_neighbors(key, handler);
std::function<void(const Key &key)> &visitor) {
process_neighbors(key, visitor);
};

template <class Func, class Key>
Expand Down

0 comments on commit 6e1b562

Please sign in to comment.