aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/gtest.h
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
commitd56773b492b7b675d5c547baab815289a7815bdd (patch)
tree59322de2099c9879b4a10a298ecf6e6b03a63ace /include/gtest/gtest.h
parent3508784108a38d673a0c7d14c897e7a51b2a7e36 (diff)
downloadgoogletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.gz
googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.bz2
googletest-d56773b492b7b675d5c547baab815289a7815bdd.zip
Turns on -Wshadow (by Preston Jackson).
Diffstat (limited to 'include/gtest/gtest.h')
-rw-r--r--include/gtest/gtest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h
index 33e2f7fe..c7df7f08 100644
--- a/include/gtest/gtest.h
+++ b/include/gtest/gtest.h
@@ -457,8 +457,8 @@ class TestProperty {
// C'tor. TestProperty does NOT have a default constructor.
// Always use this constructor (with parameters) to create a
// TestProperty object.
- TestProperty(const char* key, const char* value) :
- key_(key), value_(value) {
+ TestProperty(const char* a_key, const char* a_value) :
+ key_(a_key), value_(a_value) {
}
// Gets the user supplied key.