From 4b48854949f8bf9afb871c293a9022331a0b77c7 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 16 Nov 2022 11:05:21 -0800 Subject: Update Condition to allocate 24 bytes for MSVC platform pointers to methods. PiperOrigin-RevId: 488986942 Change-Id: I2babb7ea30d60c544f55ca9ed02d9aed23051a12 --- absl/synchronization/mutex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/synchronization/mutex.cc') 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 -- cgit v1.2.3