Skip to content

Commit 378b64e

Browse files
committed
fix(Clang): remove errors
1 parent 9f544da commit 378b64e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/geode/inspector/topology/brep_blocks_topology.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -604,26 +604,26 @@ namespace geode
604604
}
605605
for( const auto& block_uuid : block_uuids )
606606
{
607-
const auto nb_block_cmvs = count_cmvs(
608-
block_cmvs, [&block_uuid]( const ComponentMeshVertex& cmv ) {
607+
const auto nb_block_cmvs =
608+
count_cmvs( block_cmvs, [&block_uuid]( const auto& cmv ) {
609609
return cmv.component_id.id() == block_uuid;
610610
} );
611611

612-
const auto nb_internal_surface_cmvs = count_cmvs( surface_cmvs,
613-
[&block_uuid, this]( const ComponentMeshVertex& cmv ) {
612+
const auto nb_internal_surface_cmvs = count_cmvs(
613+
surface_cmvs, [&block_uuid, this]( const auto& cmv ) {
614614
return this->brep_.is_internal(
615615
brep_.surface( cmv.component_id.id() ),
616616
brep_.block( block_uuid ) );
617617
} );
618618

619-
const auto nb_boundary_surface_cmvs = count_cmvs( surface_cmvs,
620-
[&block_uuid, this]( const ComponentMeshVertex& cmv ) {
619+
const auto nb_boundary_surface_cmvs = count_cmvs(
620+
surface_cmvs, [&block_uuid, this]( const auto& cmv ) {
621621
return this->brep_.is_boundary(
622622
brep_.surface( cmv.component_id.id() ),
623623
brep_.block( block_uuid ) );
624624
} );
625-
const auto nb_boundary_line_cmvs = count_cmvs( line_cmvs,
626-
[&block_uuid, this]( const ComponentMeshVertex& cmv ) {
625+
const auto nb_boundary_line_cmvs =
626+
count_cmvs( line_cmvs, [&block_uuid, this]( const auto& cmv ) {
627627
for( const auto& block_boundary :
628628
this->brep_.boundaries( brep_.block( block_uuid ) ) )
629629
{
@@ -646,8 +646,8 @@ namespace geode
646646
}
647647
return false;
648648
} );
649-
const auto nb_free_line_cmvs = count_cmvs( line_cmvs,
650-
[&block_uuid, this]( const ComponentMeshVertex& cmv ) {
649+
const auto nb_free_line_cmvs =
650+
count_cmvs( line_cmvs, [this]( const auto& cmv ) {
651651
return this->brep_.nb_incidences( cmv.component_id.id() )
652652
== 1
653653
&& this->brep_.nb_embedding_surfaces(

0 commit comments

Comments
 (0)