mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Add noexcept to hash functor
This commit is contained in:
@@ -69,7 +69,7 @@ struct PlaneLess {
|
||||
// Functor to hash Plane_3
|
||||
template <typename Kernel>
|
||||
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?
|
||||
std::hash<double> h;
|
||||
|
||||
Reference in New Issue
Block a user