summaryrefslogtreecommitdiff
path: root/absl/synchronization
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-01-19 07:53:03 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-01-19 07:53:58 -0800
commit04d8afe7a3b36b57f6497c60dc6184e9dfeb85c1 (patch)
tree8c255c6f2a7690e84fcab8fbf7bc943688630a7e /absl/synchronization
parentb03cda5ec9b1f5aa3e2d0e5db4e436a11ed193bc (diff)
Remove code pieces for no longer supported MSVC versions.
The current support policy is `_MSC_VER >= 1920`. PiperOrigin-RevId: 599833619 Change-Id: I9cf7393a5b659d1680765e37e0328539ccb870fa
Diffstat (limited to 'absl/synchronization')
-rw-r--r--absl/synchronization/lifetime_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/absl/synchronization/lifetime_test.cc b/absl/synchronization/lifetime_test.cc
index d5ce35a1..4c4cff64 100644
--- a/absl/synchronization/lifetime_test.cc
+++ b/absl/synchronization/lifetime_test.cc
@@ -123,10 +123,9 @@ class OnDestruction {
};
// These tests require that the compiler correctly supports C++11 constant
-// initialization... but MSVC has a known regression since v19.10 till v19.25:
+// initialization... but MSVC has a known regression (since v19.10) till v19.25:
// https://developercommunity.visualstudio.com/content/problem/336946/class-with-constexpr-constructor-not-using-static.html
-#if defined(__clang__) || \
- !(defined(_MSC_VER) && _MSC_VER > 1900 && _MSC_VER < 1925)
+#if defined(__clang__) || !(defined(_MSC_VER) && _MSC_VER < 1925)
// kConstInit
// Test early usage. (Declaration comes first; definitions must appear after
// the test runner.)