diff options
author | Craig Tiller <ctiller@google.com> | 2016-10-26 21:08:10 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-10-26 21:08:10 -0700 |
commit | 618e67d655d8a0a345463d6e3e690e258dadd763 (patch) | |
tree | a886d8746523a58d9e6f42d31a99b2c943fdb2e4 /include/grpc++/support | |
parent | 2d75209fa8f3e43e4b7994b99b7d09e5116402ab (diff) |
s/GPR_SLICE/GRPC_SLICE/g
Diffstat (limited to 'include/grpc++/support')
-rw-r--r-- | include/grpc++/support/slice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/support/slice.h b/include/grpc++/support/slice.h index 699148ccda..6ee582275d 100644 --- a/include/grpc++/support/slice.h +++ b/include/grpc++/support/slice.h @@ -69,13 +69,13 @@ class Slice GRPC_FINAL { } /// Byte size. - size_t size() const { return GPR_SLICE_LENGTH(slice_); } + size_t size() const { return GRPC_SLICE_LENGTH(slice_); } /// Raw pointer to the beginning (first element) of the slice. - const uint8_t* begin() const { return GPR_SLICE_START_PTR(slice_); } + const uint8_t* begin() const { return GRPC_SLICE_START_PTR(slice_); } /// Raw pointer to the end (one byte \em past the last element) of the slice. - const uint8_t* end() const { return GPR_SLICE_END_PTR(slice_); } + const uint8_t* end() const { return GRPC_SLICE_END_PTR(slice_); } /// Raw C slice. Caller needs to call grpc_slice_unref when done. grpc_slice c_slice() const { return grpc_slice_ref(slice_); } |