From 2bed5cd700ec23e32db82ba04c334af57774d328 Mon Sep 17 00:00:00 2001 From: BenPinet Date: Mon, 3 Aug 2026 11:43:10 +0200 Subject: [PATCH] fix(Logger): replace warn with warning --- .../criterion/internal/component_meshes_adjacency.cpp | 2 +- .../criterion/intersections/model_intersections.cpp | 8 ++++---- .../inspection/topology/internal/expected_nb_cmvs.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/geode/inspector/inspection/criterion/internal/component_meshes_adjacency.cpp b/src/geode/inspector/inspection/criterion/internal/component_meshes_adjacency.cpp index 4e3d3faa..a16f6342 100644 --- a/src/geode/inspector/inspection/criterion/internal/component_meshes_adjacency.cpp +++ b/src/geode/inspector/inspection/criterion/internal/component_meshes_adjacency.cpp @@ -112,7 +112,7 @@ namespace geode } catch( const OpenGeodeException& e ) { - Logger::warn( e.what() ); + Logger::warning( e.what() ); issues.add_issue( polygon_edge, absl::StrCat( "edge ", edge_id, " of polygon ", polygon_id, diff --git a/src/geode/inspector/inspection/criterion/intersections/model_intersections.cpp b/src/geode/inspector/inspection/criterion/intersections/model_intersections.cpp index d5f5bc99..e6b298a7 100644 --- a/src/geode/inspector/inspection/criterion/intersections/model_intersections.cpp +++ b/src/geode/inspector/inspection/criterion/intersections/model_intersections.cpp @@ -772,7 +772,7 @@ namespace geode { if( surface.mesh().nb_polygons() == 0 ) { - geode::Logger::warn( + geode::Logger::warning( "One of the surface meshes has an empty mesh, cannot " "compute the AABBTree used for detecting the mesh " "intersections, no intersections will be " @@ -854,7 +854,7 @@ namespace geode { if( line.mesh().nb_edges() == 0 ) { - geode::Logger::warn( + geode::Logger::warning( "One of the line meshes has an empty mesh, " "skipping line-surface intersection detection." ); return component_intersections; @@ -934,7 +934,7 @@ namespace geode { if( surface.mesh().nb_polygons() == 0 ) { - geode::Logger::warn( + geode::Logger::warning( "One of the surface meshes has an empty mesh, " "skipping line-surface intersection detection." ); return component_intersections; @@ -944,7 +944,7 @@ namespace geode { if( line.mesh().nb_edges() == 0 ) { - geode::Logger::warn( + geode::Logger::warning( "One of the line meshes has an empty mesh, " "skipping line-surface intersection detection." ); return component_intersections; diff --git a/src/geode/inspector/inspection/topology/internal/expected_nb_cmvs.cpp b/src/geode/inspector/inspection/topology/internal/expected_nb_cmvs.cpp index 24fd3f05..9b8dd93b 100644 --- a/src/geode/inspector/inspection/topology/internal/expected_nb_cmvs.cpp +++ b/src/geode/inspector/inspection/topology/internal/expected_nb_cmvs.cpp @@ -185,7 +185,7 @@ namespace /// On one side of a topological non-manifold => 2 cases possible, /// depending on wether the topological non-manifold is on the /// interior or exterior of the block - geode::Logger::warn( absl::StrCat( + geode::Logger::warning( absl::StrCat( "[expected_block_cmvs_and_error] Unique vertex ", unique_vertex_id, " at position [", brep.block( unique_vertex_cmvs.block_cmvs[0].component_id.id() )