Skip to content

Commit

Permalink
Fixing hasher type to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch authored and Ozaq committed Oct 25, 2023
1 parent fcaed77 commit ef9c310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsimulator/src/CollisionGeometry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ template <>
struct std::hash<Cell> {
std::size_t operator()(const Point& pos) const noexcept
{
std::hash<std::int32_t> hasher{};
std::hash<double> hasher{};
return jps::hash_combine(hasher(pos.x), hasher(pos.y));
}
};
Expand Down

0 comments on commit ef9c310

Please sign in to comment.