From 5ff72f5295f315a23f83ce4cc86380d5bfed0787 Mon Sep 17 00:00:00 2001 From: Piotr Nycz Date: Fri, 25 Oct 2019 10:29:15 +0200 Subject: Apply 80chars limit Issue 2527 --- googlemock/test/gmock-actions_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc index 52f140d..e3c1d6c 100644 --- a/googlemock/test/gmock-actions_test.cc +++ b/googlemock/test/gmock-actions_test.cc @@ -674,7 +674,8 @@ TEST(ReturnRefTest, DoesNotWorkForTemporary) { auto nonScalarValue = []() -> std::string { return "ABC"; }; EXPECT_FALSE(CanCallReturnRef(nonScalarValue())); - // cannot use here callable returning "const scalar type" because C++ ignores such const for scalar return type, so the static_cast + // cannot use here callable returning "const scalar type", + // because such const for scalar return type is ignored EXPECT_FALSE(CanCallReturnRef(static_cast(321))); auto constNonScalarValue = []() -> const std::string { return "CBA"; }; -- cgit v0.12