aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2018-02-13 10:23:42 -0500
committerGennadiy Civil <misterg@google.com>2018-02-13 10:23:42 -0500
commita66d209061ebdcf81ed93c1dd0336944514fd1df (patch)
treebf67face77b9e7d5e01bd69f55236483607ad238
parente76f4ee9fd1693429146dc62b27f72a1cb38b2ff (diff)
downloadgoogletest-a66d209061ebdcf81ed93c1dd0336944514fd1df.tar.gz
googletest-a66d209061ebdcf81ed93c1dd0336944514fd1df.tar.bz2
googletest-a66d209061ebdcf81ed93c1dd0336944514fd1df.zip
clang warning 'https://travis-ci.org/google/googletest/jobs/340987201'
-rw-r--r--googletest/test/gtest-param-test_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/test/gtest-param-test_test.cc b/googletest/test/gtest-param-test_test.cc
index 11ad853c..6e62dfa2 100644
--- a/googletest/test/gtest-param-test_test.cc
+++ b/googletest/test/gtest-param-test_test.cc
@@ -853,8 +853,8 @@ class CustomFunctorNamingTest : public TestWithParam<std::string> {};
TEST_P(CustomFunctorNamingTest, CustomTestNames) {}
struct CustomParamNameFunctor {
- std::string operator()(const ::testing::TestParamInfo<std::string>& info) {
- return info.param;
+ std::string operator()(const ::testing::TestParamInfo<std::string>& inf) {
+ return inf.param;
}
};
@@ -893,8 +893,8 @@ TEST_P(CustomLambdaNamingTest, CustomTestNames) {}
INSTANTIATE_TEST_CASE_P(CustomParamNameLambda,
CustomLambdaNamingTest,
Values(std::string("LambdaName")),
- [](const ::testing::TestParamInfo<std::string>& info) {
- return info.param;
+ [](const ::testing::TestParamInfo<std::string>& inf) {
+ return inf.param;
});
#endif // GTEST_LANG_CXX11