diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-16 19:54:05 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-16 19:54:05 +0000 |
commit | d56773b492b7b675d5c547baab815289a7815bdd (patch) | |
tree | 59322de2099c9879b4a10a298ecf6e6b03a63ace /src/gtest-internal-inl.h | |
parent | 3508784108a38d673a0c7d14c897e7a51b2a7e36 (diff) | |
download | googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.gz googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.bz2 googletest-d56773b492b7b675d5c547baab815289a7815bdd.zip |
Turns on -Wshadow (by Preston Jackson).
Diffstat (limited to 'src/gtest-internal-inl.h')
-rw-r--r-- | src/gtest-internal-inl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtest-internal-inl.h b/src/gtest-internal-inl.h index 45a4c105..596dc553 100644 --- a/src/gtest-internal-inl.h +++ b/src/gtest-internal-inl.h @@ -902,15 +902,15 @@ class UnitTestImpl { #endif // GTEST_HAS_PARAM_TEST // Sets the TestCase object for the test that's currently running. - void set_current_test_case(TestCase* current_test_case) { - current_test_case_ = current_test_case; + void set_current_test_case(TestCase* a_current_test_case) { + current_test_case_ = a_current_test_case; } // Sets the TestInfo object for the test that's currently running. If // current_test_info is NULL, the assertion results will be stored in // ad_hoc_test_result_. - void set_current_test_info(TestInfo* current_test_info) { - current_test_info_ = current_test_info; + void set_current_test_info(TestInfo* a_current_test_info) { + current_test_info_ = a_current_test_info; } // Registers all parameterized tests defined using TEST_P and |