Fix an instance of -Wshadow.

PiperOrigin-RevId: 406429209
This commit is contained in:
hai007
2021-10-29 12:47:05 -07:00
committed by Copybara-Service
parent 44fad7d8fb
commit 8411555bd4
+1 -1
View File
@@ -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};
};