From 4038192a57cb75f7ee671f81a3378ff4c74c4f8e Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Tue, 2 Jan 2024 13:26:37 -0800 Subject: Remove workaround for older versions MSVC that did not support constexpr Flag construction. These versions of MSVC are no longer supported. PiperOrigin-RevId: 595195773 Change-Id: Iaf2f01a2255fb24f3aadc26f09600543fffa9da5 --- absl/flags/internal/flag.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'absl/flags/internal/flag.h') diff --git a/absl/flags/internal/flag.h b/absl/flags/internal/flag.h index b41f9a69..2e6e6b87 100644 --- a/absl/flags/internal/flag.h +++ b/absl/flags/internal/flag.h @@ -54,13 +54,8 @@ template class Flag; } // namespace flags_internal -#if defined(_MSC_VER) && !defined(__clang__) -template -class Flag; -#else template using Flag = flags_internal::Flag; -#endif template ABSL_MUST_USE_RESULT T GetFlag(const absl::Flag& flag); -- cgit v1.2.3