aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/slice.h
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-03-13 15:54:38 -0700
committerGravatar Yang Gao <yangg@google.com>2015-03-13 15:54:38 -0700
commitdca15a6d1e156ea06a040f0a595867de2056b789 (patch)
tree759f56254e9f2d7bacb2c68f90b92ed716c0cfa6 /include/grpc++/slice.h
parent45c09db87c7d57b97112a1118054c2e07bfad45a (diff)
add a comment
Diffstat (limited to 'include/grpc++/slice.h')
-rw-r--r--include/grpc++/slice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/slice.h b/include/grpc++/slice.h
index 11b6a28d4f..3e01bcf0ad 100644
--- a/include/grpc++/slice.h
+++ b/include/grpc++/slice.h
@@ -53,7 +53,7 @@ class Slice GRPC_FINAL {
Slice(gpr_slice slice, StealRef);
// copy constructor - adds a ref
Slice(const Slice& other);
- // assignment
+ // assignment - ref count is unchanged
Slice& operator=(Slice other) {
std::swap(slice_, other.slice_);
return *this;