diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-16 19:54:05 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-16 19:54:05 (GMT) |
commit | d56773b492b7b675d5c547baab815289a7815bdd (patch) | |
tree | 59322de2099c9879b4a10a298ecf6e6b03a63ace /test/gtest-param-test_test.cc | |
parent | 3508784108a38d673a0c7d14c897e7a51b2a7e36 (diff) | |
download | googletest-d56773b492b7b675d5c547baab815289a7815bdd.zip googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.gz googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.bz2 |
Turns on -Wshadow (by Preston Jackson).
Diffstat (limited to 'test/gtest-param-test_test.cc')
-rw-r--r-- | test/gtest-param-test_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gtest-param-test_test.cc b/test/gtest-param-test_test.cc index ecb5fdb..e718ffb 100644 --- a/test/gtest-param-test_test.cc +++ b/test/gtest-param-test_test.cc @@ -205,7 +205,7 @@ TEST(RangeTest, IntRangeWithCustomStepOverUpperBound) { // copy constructor, operator=(), operator+(), and operator<(). class DogAdder { public: - explicit DogAdder(const char* value) : value_(value) {} + explicit DogAdder(const char* a_value) : value_(a_value) {} DogAdder(const DogAdder& other) : value_(other.value_.c_str()) {} DogAdder operator=(const DogAdder& other) { @@ -243,7 +243,7 @@ TEST(RangeTest, WorksWithACustomType) { class IntWrapper { public: - explicit IntWrapper(int value) : value_(value) {} + explicit IntWrapper(int a_value) : value_(a_value) {} IntWrapper(const IntWrapper& other) : value_(other.value_) {} IntWrapper operator=(const IntWrapper& other) { |