Skip to content

Commit 0bbb4c4

Browse files
Ink Open Sourcecopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 865186338
1 parent d5d1a2b commit 0bbb4c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ink/geometry/partitioned_mesh.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ bool PartitionedMesh::CoverageIsGreaterThan(
567567
const RTree& PartitionedMesh::Data::SpatialIndex() const {
568568
ABSL_CHECK(!meshes_.empty());
569569

570-
absl::MutexLock lock(&cache_mutex_);
570+
absl::MutexLock lock(cache_mutex_);
571571

572572
// The index is already initialized, there's nothing to do.
573573
// NOMUTANTS -- Removing this would not have an observable effect on behavior
@@ -612,7 +612,7 @@ const RTree& PartitionedMesh::Data::SpatialIndex() const {
612612
float PartitionedMesh::Data::TotalAbsoluteArea() const {
613613
ABSL_CHECK(!meshes_.empty());
614614

615-
absl::MutexLock lock(&cache_mutex_);
615+
absl::MutexLock lock(cache_mutex_);
616616
if (!cached_total_absolute_area_.has_value()) {
617617
float total_abs_area = 0;
618618
for (const Mesh& mesh : meshes_) {

0 commit comments

Comments
 (0)