| From 49de34d7489ba5218a822461a42786844a1e344b Mon Sep 17 00:00:00 2001 |
| From: Sophie Chang <sophiechang@chromium.org> |
| Date: Wed, 3 Feb 2021 04:30:56 +0000 |
| Subject: [PATCH] use _Exit |
| |
| --- |
| .../src/tensorflow_lite_support/cc/port/default/statusor.cc | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/third_party/tflite-support/src/tensorflow_lite_support/cc/port/default/statusor.cc b/third_party/tflite-support/src/tensorflow_lite_support/cc/port/default/statusor.cc |
| index 182c37e4aaf6..058c0070f0da 100644 |
| --- a/third_party/tflite-support/src/tensorflow_lite_support/cc/port/default/statusor.cc |
| +++ b/third_party/tflite-support/src/tensorflow_lite_support/cc/port/default/statusor.cc |
| @@ -50,7 +50,7 @@ void Helper::HandleInvalidStatusCtorArg(absl::Status* status) { |
| void Helper::Crash(const absl::Status& status) { |
| LOG(FATAL) << "Attempting to fetch value instead of handling error " |
| << status; |
| - _exit(1); |
| + _Exit(1); |
| } |
| |
| void ThrowBadStatusOrAccess(absl::Status status) { |
| -- |
| 2.30.0.365.g02bc693789-goog |
| |