mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fix an instance of -Wshadow.
PiperOrigin-RevId: 406429209
This commit is contained in:
@@ -34,7 +34,7 @@ struct Exception {
|
||||
};
|
||||
bool Ok() const { return value == kSuccess; }
|
||||
bool Raised() const { return !Ok(); }
|
||||
bool Raised(Value value) const { return this->value == value; }
|
||||
bool Raised(Value val) const { return value == val; }
|
||||
Value value{kFailed};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user