Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Contributes to CURA-10831
  • Loading branch information
jellespijker committed Dec 1, 2023
1 parent 7be00de commit 02190bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ double bridgeAngle(
}
}

if (! idx1.hasValue() || ! idx2.hasValue())
if (! idx1.has_value() || ! idx2.has_value())
return -1.0;

Point2LL center1 = islands[idx1.value()].centerOfMass();
Expand Down

0 comments on commit 02190bd

Please sign in to comment.