Skip to content

Commit

Permalink
Fixed warning (stopwatch shadowing...)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Sep 30, 2023
1 parent 3001ae7 commit 982abdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/examples/geogram/intersect/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ int main(int argc, char** argv) {

// Needs to be called once.
GEO::initialize();
Stopwatch W("Total time");
Stopwatch W_total("Total time");

try {

Expand Down Expand Up @@ -152,11 +152,11 @@ int main(int argc, char** argv) {

if(CmdLine::get_arg("expr") != "") {
Logger::div("Classify");
Stopwatch W("Classify");
Stopwatch W_classify("Classify");
mesh_classify_intersections(A,CmdLine::get_arg("expr"));
} else if(CmdLine::get_arg_bool("post")) {
Logger::div("Post");
Stopwatch W("Post");
Stopwatch W_post("Post");
mesh_repair(
A,
MeshRepairMode(
Expand Down

0 comments on commit 982abdb

Please sign in to comment.