aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-07-17 15:11:27 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-07-17 15:11:27 -0700
commit2968bf687af0f5e0db591d20276b79a7fd627c31 (patch)
tree3a756909e1ba1b8961f38b375c3431912fd58d04 /src/core
parent0f6e4dd20d3e79d3465a7bf8a21d704e7b67b102 (diff)
reviewer feedback
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/gprpp/inlined_vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/gprpp/inlined_vector.h b/src/core/lib/gprpp/inlined_vector.h
index 508fb2eed1..76e2f0a785 100644
--- a/src/core/lib/gprpp/inlined_vector.h
+++ b/src/core/lib/gprpp/inlined_vector.h
@@ -124,7 +124,7 @@ class InlinedVector {
void push_back(T&& value) { emplace_back(std::move(value)); }
void copy_from(const InlinedVector& v) {
- // if copy over the buffer from v.
+ // if v is allocated, copy over the buffer.
if (v.dynamic_ != nullptr) {
reserve(v.capacity_);
memcpy(dynamic_, v.dynamic_, v.size_ * sizeof(T));