From 02190bdd75a9a4da4a9e59e7e3491de3881e2f5c Mon Sep 17 00:00:00 2001 From: jellespijker Date: Fri, 1 Dec 2023 11:56:36 +0100 Subject: [PATCH] Fix typo Contributes to CURA-10831 --- src/bridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridge.cpp b/src/bridge.cpp index aeae8aeb9e..554d81d5b1 100644 --- a/src/bridge.cpp +++ b/src/bridge.cpp @@ -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();