summarylogtreecommitdiffstats
path: root/update_to_std_variant.patch
blob: 5c516dc06a9d6fcc5240eb9eaebca54f4e53c51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C
index 9bd01d4e..a920b754 100644
--- a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C
+++ b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C
@@ -647,7 +647,7 @@ labelPair edgeIntersectionsCGAL
             // Get intersection object
             if
             (
-                const Point* ptPtr = boost::get<Point>(&(intersect->first))
+                const Point* ptPtr = std::get_if<Point>(&(intersect->first))
             )
             {
                 point pt
@@ -679,7 +679,7 @@ labelPair edgeIntersectionsCGAL
             }
             else if
             (
-                const Segment* sPtr = boost::get<Segment>(&(intersect->first))
+                const Segment* sPtr = std::get_if<Segment>(&(intersect->first))
             )
             {
                 #if defined (CGAL_VERSION_NR) && (CGAL_VERSION_NR < 1041400000)