Turns on -Wshadow (by Preston Jackson).

This commit is contained in:
zhanyong.wan
2009-12-16 19:54:05 +00:00
parent 3508784108
commit d56773b492
13 changed files with 90 additions and 85 deletions

View File

@@ -48,7 +48,7 @@ class PrivateCode {
int x() const { return x_; }
private:
void set_x(int x) { x_ = x; }
void set_x(int an_x) { x_ = an_x; }
int x_;
};