summaryrefslogtreecommitdiff
path: root/test/gtest-param-test_test.cc
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-16 19:54:05 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-16 19:54:05 +0000
commit7de3401f5f8c2a61476a3623e9802f973764fc27 (patch)
tree59322de2099c9879b4a10a298ecf6e6b03a63ace /test/gtest-param-test_test.cc
parent348b01a2d08593bd4cb9739a83038143f860edff (diff)
downloadgtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.gz
gtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.bz2
gtest-7de3401f5f8c2a61476a3623e9802f973764fc27.tar.xz
Turns on -Wshadow (by Preston Jackson).
git-svn-id: http://googletest.googlecode.com/svn/trunk@350 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'test/gtest-param-test_test.cc')
-rw-r--r--test/gtest-param-test_test.cc4
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) {