Skip to content

Commit

Permalink
We never used noexcept anywhere, why adding it now?
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Jul 20, 2024
1 parent fd10013 commit eade08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/kiss_icp/core/VoxelUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ std::vector<Eigen::Vector3d> VoxelDownsample(const std::vector<Eigen::Vector3d>

template <>
struct std::hash<kiss_icp::Voxel> {
std::size_t operator()(const kiss_icp::Voxel &voxel) const noexcept {
std::size_t operator()(const kiss_icp::Voxel &voxel) const {
const uint32_t *vec = reinterpret_cast<const uint32_t *>(voxel.data());
return (vec[0] * 73856093 ^ vec[1] * 19349669 ^ vec[2] * 83492791);
}
Expand Down

0 comments on commit eade08f

Please sign in to comment.