From 19b3c95727316cef3b0b40eaf37f6645a876f8d2 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 23 Apr 2018 15:50:21 -0700 Subject: - 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3 Fix the description of Span::subspan(). by Abseil Team - bae1a1c21924bd31fa7315eff05ea6158d9e7947 Port the symbolizer to Windows. by Derek Mauro - 2253c04c1a4f39d9581772f1dc4491878aa3831f Support absl::Hex() and absl::Dec() as arguments to absl:... by Jorg Brown - 552c3ac259e9c254fda9244755487f3423d2fe4b Internal change by Jorg Brown GitOrigin-RevId: 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3 Change-Id: I448133c9bb6d837037c12b45a9a16a7945049453 --- absl/types/variant_test.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'absl/types/variant_test.cc') diff --git a/absl/types/variant_test.cc b/absl/types/variant_test.cc index c4676c1..262bd94 100644 --- a/absl/types/variant_test.cc +++ b/absl/types/variant_test.cc @@ -119,19 +119,9 @@ struct ConversionException {}; template struct ExceptionOnConversion { - // Suppress MSVC 2017 warning "noreturn function has a non-void return type". -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4646) -#endif // _MSC_VER - - [[noreturn]] operator T() const { // NOLINT(runtime/explicit) + operator T() const { // NOLINT(runtime/explicit) throw ConversionException(); } - -#ifdef _MSC_VER -#pragma warning(pop) -#endif // _MSC_VER }; // Forces a variant into the valueless by exception state. -- cgit v1.2.3