summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-03-05 13:27:31 -0800
committerDino Radaković <dinor@google.com>2021-03-09 10:59:19 -0800
commitbf465ff05d74ca6829c49c321069a34f21b97f5d (patch)
tree50bcac97c8a153050b9858354cb96046e88ed3c6 /googlemock
parentbcfcf75ef62af29f15fbb98be25fbfb87f45036e (diff)
downloadgoogletest-bf465ff05d74ca6829c49c321069a34f21b97f5d.tar.gz
googletest-bf465ff05d74ca6829c49c321069a34f21b97f5d.zip
Internal change
PiperOrigin-RevId: 361213113
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/include/gmock/gmock-actions.h2
1 files changed, 1 insertions, 1 deletions
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<R(Args...), Impl> : ImplBase<Impl>::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<const Impl&>(*this).template gmock_PerformImpl<
/*function_type=*/function_type, /*return_type=*/R,
/*args_type=*/args_type,
OpenPOWER on IntegriCloud