Internal cleanup for ByteCount() return type.
PiperOrigin-RevId: 270940285
This commit is contained in:
parent
2405e8a159
commit
e9c8a604cf
@ -472,9 +472,7 @@ class FileStream : public ::tensorflow::protobuf::io::ZeroCopyInputStream {
|
|||||||
pos_ += count;
|
pos_ += count;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
int64_t ByteCount() const override {
|
int64_t ByteCount() const override { return pos_; }
|
||||||
return pos_;
|
|
||||||
}
|
|
||||||
Status status() const { return status_; }
|
Status status() const { return status_; }
|
||||||
|
|
||||||
bool Next(const void** data, int* size) override {
|
bool Next(const void** data, int* size) override {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user