Fix prototype mismatch of ByteCount in env.cc (#3614)
* Fix prototype mismatch of ByteCount in env.cc * Change email
This commit is contained in:
parent
2aec2b6759
commit
e58829821c
@ -301,7 +301,7 @@ class FileStream : public ::tensorflow::protobuf::io::ZeroCopyInputStream {
|
|||||||
pos_ += count;
|
pos_ += count;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
int64 ByteCount() const override { return pos_; }
|
google::protobuf::int64 ByteCount() const override { 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…
Reference in New Issue
Block a user