From 457b4acef6c0d333b4d55e586d0e5e09efe48093 Mon Sep 17 00:00:00 2001 From: Xi-Huang Date: Wed, 17 Jan 2024 18:03:51 +0100 Subject: [PATCH] Update canopen_system.hpp --- .../include/canopen_ros2_control/canopen_system.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/canopen_ros2_control/include/canopen_ros2_control/canopen_system.hpp b/canopen_ros2_control/include/canopen_ros2_control/canopen_system.hpp index 570befc9..446fe75e 100644 --- a/canopen_ros2_control/include/canopen_ros2_control/canopen_system.hpp +++ b/canopen_ros2_control/include/canopen_ros2_control/canopen_system.hpp @@ -139,13 +139,6 @@ struct pair_hash { auto h1 = std::hash{}(pair.first); auto h2 = std::hash{}(pair.second); - // // check if T2 is a pair, if so recursively compute hash - // if constexpr (std::is_same>::value) { - // h2 = pair_hash{}(pair.second); - // } else { - // h2 = std::hash{}(pair.second); - // } - return h1 ^ h2; } };