summaryrefslogtreecommitdiff
path: root/absl/synchronization/mutex.cc
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-11-16 11:05:21 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2022-11-16 11:06:21 -0800
commit4b48854949f8bf9afb871c293a9022331a0b77c7 (patch)
tree768ae9ca20e921fbce962adce0cad17bf409eea6 /absl/synchronization/mutex.cc
parent76fa844139fb04958a9682f34e3b3d0e4943ae5f (diff)
Update Condition to allocate 24 bytes for MSVC platform pointers to methods.
PiperOrigin-RevId: 488986942 Change-Id: I2babb7ea30d60c544f55ca9ed02d9aed23051a12
Diffstat (limited to 'absl/synchronization/mutex.cc')
-rw-r--r--absl/synchronization/mutex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/synchronization/mutex.cc b/absl/synchronization/mutex.cc
index ff18df5d..dd771421 100644
--- a/absl/synchronization/mutex.cc
+++ b/absl/synchronization/mutex.cc
@@ -2823,7 +2823,7 @@ bool Condition::GuaranteedEqual(const Condition *a, const Condition *b) {
}
// Check equality of the representative fields.
return a->eval_ == b->eval_ && a->arg_ == b->arg_ &&
- !memcmp(a->callback_, b->callback_, sizeof(ConservativeMethodPointer));
+ !memcmp(a->callback_, b->callback_, sizeof(a->callback_));
}
ABSL_NAMESPACE_END