aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/gprpp
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-06-11 11:34:17 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-06-11 16:49:13 -0700
commit5b3824baf20ddd2a0046930a0c8e539eb7b41df6 (patch)
tree6e7e95bfbdca990de4ad43322dcbdb1ae97352c8 /src/core/lib/gprpp
parent9846826b51ce20c1ecec6084898adbbf033b64c0 (diff)
Code review changes.
Diffstat (limited to 'src/core/lib/gprpp')
-rw-r--r--src/core/lib/gprpp/inlined_vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/gprpp/inlined_vector.h b/src/core/lib/gprpp/inlined_vector.h
index f36f6cb706..0d2586e507 100644
--- a/src/core/lib/gprpp/inlined_vector.h
+++ b/src/core/lib/gprpp/inlined_vector.h
@@ -99,6 +99,8 @@ class InlinedVector {
void push_back(T&& value) { emplace_back(std::move(value)); }
size_t size() const { return size_; }
+ bool empty() const { return size_ == 0; }
+
size_t capacity() const { return capacity_; }
void clear() {