Fix compilation error on Windows

PiperOrigin-RevId: 482037921
This commit is contained in:
Sebastian Schmidt 2022-10-18 15:29:14 -07:00 committed by Copybara-Service
parent 7785603fbe
commit 0b55fbda34

View File

@ -93,7 +93,7 @@ class TfLiteModelCalculator : public CalculatorBase {
std::move(model_allocation), tflite::DefaultErrorReporter()); std::move(model_allocation), tflite::DefaultErrorReporter());
#else #else
return absl::FailedPreconditionError( return absl::FailedPreconditionError(
"Loading by file descriptor is not supported on this platform.") "Loading by file descriptor is not supported on this platform.");
#endif #endif
} }