Turns on -Wshadow (by Preston Jackson).
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user