Skip to content

Commit

Permalink
Update canopen_system.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Xi-HHHM authored Jan 17, 2024
1 parent 57979a3 commit 457b4ac
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,6 @@ struct pair_hash {
auto h1 = std::hash<T1>{}(pair.first);
auto h2 = std::hash<T2>{}(pair.second);

// // check if T2 is a pair, if so recursively compute hash
// if constexpr (std::is_same<T2, std::pair<uint16_t, uint8_t>>::value) {
// h2 = pair_hash{}(pair.second);
// } else {
// h2 = std::hash<T2>{}(pair.second);
// }

return h1 ^ h2;
}
};
Expand Down

0 comments on commit 457b4ac

Please sign in to comment.