From 6e1b562ac31c17edd317ceb66b09853d0125b16e Mon Sep 17 00:00:00 2001 From: yut23 Date: Fri, 22 Mar 2024 14:40:18 -0400 Subject: [PATCH] 2023 graph: fix ProcessNeighbors argument name --- 2023/src/graph_traversal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2023/src/graph_traversal.hpp b/2023/src/graph_traversal.hpp index 7d88169..3ff6ed3 100644 --- a/2023/src/graph_traversal.hpp +++ b/2023/src/graph_traversal.hpp @@ -52,8 +52,8 @@ using maybe_unordered_map = template concept ProcessNeighbors = requires(Func process_neighbors, const Key &key, - std::function &handler) { - process_neighbors(key, handler); + std::function &visitor) { + process_neighbors(key, visitor); }; template