Fixed compiler complain about missing return value

This commit is contained in:
Efi Fogel 2025-01-22 12:37:35 +02:00
parent b4a8c00e09
commit 19954c5d73
1 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ public:
// vertex to the extended point. // vertex to the extended point.
if (! vh->is_at_open_boundary() && m_base_equal(base_p, vh->point())) if (! vh->is_at_open_boundary() && m_base_equal(base_p, vh->point()))
return (Point_2(base_p, vh)); return (Point_2(base_p, vh));
else return (Point_2(base_p)); return (Point_2(base_p));
} }
}; };
@ -308,7 +308,7 @@ public:
// vertex to the extended point. // vertex to the extended point.
if (! vh->is_at_open_boundary() && m_base_equal(base_p, vh->point())) if (! vh->is_at_open_boundary() && m_base_equal(base_p, vh->point()))
return (Point_2(base_p, vh)); return (Point_2(base_p, vh));
else return (Point_2(base_p)); return (Point_2(base_p));
} }
}; };