Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/butil/iobuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,7 @@ bool IOBufAsZeroCopyInputStream::Skip(int count) {
return false;
}

google::protobuf::int64 IOBufAsZeroCopyInputStream::ByteCount() const {
int64_t IOBufAsZeroCopyInputStream::ByteCount() const {
return _byte_count;
}

Expand Down Expand Up @@ -1990,7 +1990,7 @@ void IOBufAsZeroCopyOutputStream::BackUp(int count) {
LOG_IF(FATAL, count != 0) << "BackUp an empty IOBuf";
}

google::protobuf::int64 IOBufAsZeroCopyOutputStream::ByteCount() const {
int64_t IOBufAsZeroCopyOutputStream::ByteCount() const {
return _byte_count;
}

Expand Down
2 changes: 1 addition & 1 deletion src/json2pb/zero_copy_stream_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// // Interfaces of ZeroCopyOutputStream
// bool Next(void** data, int* size);
// void BackUp(int count);
// google::protobuf::int64 ByteCount() const;
// int64_t ByteCount() const;
//
//private:
// IOBuf* _buf;
Expand Down
Loading