2323
2424#include < geode/inspector/topology/brep_blocks_topology.h>
2525
26+ #include < optional>
27+
2628#include < absl/container/flat_hash_set.h>
2729
2830#include < geode/basic/algorithm.h>
@@ -113,15 +115,15 @@ namespace geode
113115 unique_vertex_index ) );
114116 }
115117
116- absl ::optional< std::string > BRepBlocksTopology::
118+ std ::optional< std::string > BRepBlocksTopology::
117119 unique_vertex_is_part_of_two_blocks_and_no_boundary_surface (
118120 index_t unique_vertex_index ) const
119121 {
120122 const auto block_uuids = detail::components_uuids (
121123 brep_, unique_vertex_index, Block3D::component_type_static () );
122124 if ( block_uuids.size () != 2 )
123125 {
124- return absl ::nullopt ;
126+ return std ::nullopt ;
125127 }
126128 for ( const auto & surface_cmv :
127129 brep_.component_mesh_vertices ( unique_vertex_index ) )
@@ -136,7 +138,7 @@ namespace geode
136138 && brep_.Relationships ::is_boundary (
137139 surface_cmv.component_id .id (), block_uuids[1 ] ) )
138140 {
139- return absl ::nullopt ;
141+ return std ::nullopt ;
140142 }
141143 for ( const auto & line_cmv :
142144 brep_.component_mesh_vertices ( unique_vertex_index ) )
@@ -154,7 +156,7 @@ namespace geode
154156 || brep_.Relationships ::is_boundary (
155157 surface_cmv.component_id .id (), block_uuids[1 ] ) ) )
156158 {
157- return absl ::nullopt ;
159+ return std ::nullopt ;
158160 }
159161 }
160162 }
@@ -164,7 +166,7 @@ namespace geode
164166 " surfaces." );
165167 }
166168
167- absl ::optional< std::string >
169+ std ::optional< std::string >
168170 BRepBlocksTopology::unique_vertex_block_cmvs_count_is_incorrect (
169171 index_t unique_vertex_index ) const
170172 {
@@ -324,7 +326,7 @@ namespace geode
324326 " block CMVs (should be " , predicted_nb_block_cmvs, " )." );
325327 }
326328 }
327- return absl ::nullopt ;
329+ return std ::nullopt ;
328330 }
329331
330332 BRepBlocksTopologyInspectionResult
0 commit comments