diff --git a/tensorflow/stream_executor/lib/statusor.h b/tensorflow/stream_executor/lib/statusor.h index 7ba0954476b..738abf95893 100644 --- a/tensorflow/stream_executor/lib/statusor.h +++ b/tensorflow/stream_executor/lib/statusor.h @@ -92,7 +92,8 @@ class StatusOr : private internal_statusor::StatusOrData, typedef internal_statusor::StatusOrData Base; public: - typedef T element_type; + typedef T element_type; // DEPRECATED: use `value_type`. + typedef T value_type; // Constructs a new StatusOr with Status::UNKNOWN status. This is marked // 'explicit' to try to catch cases like 'return {};', where people think