diff options
author | Abseil Team <absl-team@google.com> | 2022-11-16 11:05:21 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-11-16 11:06:21 -0800 |
commit | 4b48854949f8bf9afb871c293a9022331a0b77c7 (patch) | |
tree | 768ae9ca20e921fbce962adce0cad17bf409eea6 /absl/synchronization/mutex.cc | |
parent | 76fa844139fb04958a9682f34e3b3d0e4943ae5f (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.cc | 2 |
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 |