Skip to content

Commit

Permalink
compactTriangulation fix for clang-tidy 16
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-tierny committed Jul 29, 2023
1 parent cb59b30 commit b20fa5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/base/compactTriangulation/CompactTriangulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,8 @@ namespace ttk {
cacheMaps_[threadId].erase(caches_[threadId].back().nid);
caches_[threadId].pop_back();
}
caches_[threadId].emplace_front(ImplicitCluster(nodeId));
const ImplicitCluster localCluster(nodeId);
caches_[threadId].emplace_front(localCluster);
cacheMaps_[threadId][nodeId] = caches_[threadId].begin();
}
return &(*cacheMaps_[threadId][nodeId]);
Expand Down

0 comments on commit b20fa5c

Please sign in to comment.