style fix

This commit is contained in:
Micah Kornfield authored and Antoine Pitrou committed 2019-07-02 17:58:29 +02:00
1 parent 14e3467b5c
commit 484b3a2324
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ bool IsPythonError(const Status& status) {
if (status.ok()) {
return false;
}
auto detail = status.detail().get();
auto* detail = status.detail();
return detail != nullptr && detail->type_id() == kErrorDetailTypeId;
}