From bf465ff05d74ca6829c49c321069a34f21b97f5d Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Fri, 5 Mar 2021 13:27:31 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 361213113 --- googlemock/include/gmock/gmock-actions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index 79eac151..07cc8c2e 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -1520,7 +1520,7 @@ struct ActionImpl : ImplBase::type { // types instantiated. Up to 10 of the args that are provided by the // args_type get passed, followed by a dummy of unspecified type for the // remainder up to 10 explicit args. - static const ExcessiveArg kExcessArg; + static constexpr ExcessiveArg kExcessArg{}; return static_cast(*this).template gmock_PerformImpl< /*function_type=*/function_type, /*return_type=*/R, /*args_type=*/args_type,