Skip to content

Commit

Permalink
GRIDEDIT-1566 Added return type to lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Jan 7, 2025
1 parent 8064ea2 commit ae89997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/MeshKernel/src/ConnectMeshes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void meshkernel::ConnectMeshes::AreEdgesAdjacent(const Mesh2D& mesh,
const Point midPoint1 = 0.5 * (edge1Start + edge1End);
const Point midPoint2 = 0.5 * (edge2Start + edge2End);

auto IsContainedInBoundingBox = [](const Point& pnt, const Point& boxMidPoint, const double boxHalfLength)
auto IsContainedInBoundingBox = [](const Point& pnt, const Point& boxMidPoint, const double boxHalfLength)->bool
{
return (pnt.x > boxMidPoint.x - boxHalfLength && pnt.x < boxMidPoint.x + boxHalfLength &&
pnt.y > boxMidPoint.y - boxHalfLength && pnt.y < boxMidPoint.y + boxHalfLength);
Expand Down

0 comments on commit ae89997

Please sign in to comment.