mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
Add noexcept to hash functor
This commit is contained in:
committed by
Richard Brice
parent
23ab8c7ef9
commit
b4ef4cbbec
@@ -69,7 +69,7 @@ struct PlaneLess {
|
|||||||
// Functor to hash Plane_3
|
// Functor to hash Plane_3
|
||||||
template <typename Kernel>
|
template <typename Kernel>
|
||||||
struct PlaneHash {
|
struct PlaneHash {
|
||||||
size_t operator()(const CGAL::Plane_3<Kernel>& plane) const
|
size_t operator()(const CGAL::Plane_3<Kernel>& plane) const noexcept
|
||||||
{
|
{
|
||||||
// @todo why can I only get this to work on double?
|
// @todo why can I only get this to work on double?
|
||||||
std::hash<double> h;
|
std::hash<double> h;
|
||||||
|
|||||||
Reference in New Issue
Block a user