Apply 80chars limit

Issue 2527
This commit is contained in:
Piotr Nycz 2019-10-25 10:29:15 +02:00
parent d072682119
commit 5ff72f5295

View File

@ -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<const int>(321)));
auto constNonScalarValue = []() -> const std::string { return "CBA"; };