38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 8e8c72e1cb92d63aa2aaa7f9d8ccb059250928d1 Mon Sep 17 00:00:00 2001
|
|
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
|
Date: Fri, 9 Jan 2026 07:37:42 +0000
|
|
Subject: [PATCH] =?UTF-8?q?Omit=20the=20=E2=80=9Cbind=E2=80=9D=20block=20i?=
|
|
=?UTF-8?q?n=20test=20Test=20Mutex::FunctorCondition?=
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Work around failure to compile with GCC 16,
|
|
https://github.com/abseil/abseil-cpp/issues/1992.
|
|
---
|
|
absl/synchronization/mutex_test.cc | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/absl/synchronization/mutex_test.cc b/absl/synchronization/mutex_test.cc
|
|
index 793acf8c..7acd2e56 100644
|
|
--- a/absl/synchronization/mutex_test.cc
|
|
+++ b/absl/synchronization/mutex_test.cc
|
|
@@ -1022,6 +1022,7 @@ TEST(Mutex, FunctorCondition) {
|
|
EXPECT_TRUE(c.Eval());
|
|
}
|
|
|
|
+#if 0
|
|
{ // bind
|
|
int value = 0;
|
|
auto is_positive = std::bind(std::less<int>(), 0, std::cref(value));
|
|
@@ -1030,6 +1031,7 @@ TEST(Mutex, FunctorCondition) {
|
|
value = 1;
|
|
EXPECT_TRUE(c.Eval());
|
|
}
|
|
+#endif
|
|
|
|
{ // std::function
|
|
int value = 3;
|
|
--
|
|
2.52.0
|
|
|