diff options
author | 2016-01-11 10:08:26 -0800 | |
---|---|---|
committer | 2016-01-11 10:08:26 -0800 | |
commit | 6045681003bef90de4d58952474893cfb56741e4 (patch) | |
tree | ff0e1b5150c7a27d88ea7eab82acc6d95bc30c0a /include/grpc++/support/slice.h | |
parent | 78268212bae4e745606108beeeff317af393e033 (diff) | |
parent | 7f34c783c4735ce16c22cd4c92d989d4bb0e2822 (diff) |
Merge branch 'master' into bbuf
Diffstat (limited to 'include/grpc++/support/slice.h')
-rw-r--r-- | include/grpc++/support/slice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/support/slice.h b/include/grpc++/support/slice.h index 88e08bedb5..8dce7e68af 100644 --- a/include/grpc++/support/slice.h +++ b/include/grpc++/support/slice.h @@ -72,10 +72,10 @@ class Slice GRPC_FINAL { size_t size() const { return GPR_SLICE_LENGTH(slice_); } /// Raw pointer to the beginning (first element) of the slice. - const gpr_uint8* begin() const { return GPR_SLICE_START_PTR(slice_); } + const uint8_t* begin() const { return GPR_SLICE_START_PTR(slice_); } /// Raw pointer to the end (one byte \em past the last element) of the slice. - const gpr_uint8* end() const { return GPR_SLICE_END_PTR(slice_); } + const uint8_t* end() const { return GPR_SLICE_END_PTR(slice_); } private: friend class ByteBuffer; |