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 /include/gtest/gtest-test-part.h | |
parent | 3508784108a38d673a0c7d14c897e7a51b2a7e36 (diff) | |
download | googletest-d56773b492b7b675d5c547baab815289a7815bdd.zip googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.gz googletest-d56773b492b7b675d5c547baab815289a7815bdd.tar.bz2 |
Turns on -Wshadow (by Preston Jackson).
Diffstat (limited to 'include/gtest/gtest-test-part.h')
-rw-r--r-- | include/gtest/gtest-test-part.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/gtest/gtest-test-part.h b/include/gtest/gtest-test-part.h index 58e7df9..348e4ec 100644 --- a/include/gtest/gtest-test-part.h +++ b/include/gtest/gtest-test-part.h @@ -56,15 +56,15 @@ class TestPartResult { // C'tor. TestPartResult does NOT have a default constructor. // Always use this constructor (with parameters) to create a // TestPartResult object. - TestPartResult(Type type, - const char* file_name, - int line_number, - const char* message) - : type_(type), - file_name_(file_name), - line_number_(line_number), - summary_(ExtractSummary(message)), - message_(message) { + TestPartResult(Type a_type, + const char* a_file_name, + int a_line_number, + const char* a_message) + : type_(a_type), + file_name_(a_file_name), + line_number_(a_line_number), + summary_(ExtractSummary(a_message)), + message_(a_message) { } // Gets the outcome of the test part. |