aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end/interceptors_util.cc
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-12-07 14:59:04 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2018-12-07 14:59:04 -0800
commit7b81ae14a7c347f4971c319a93ba0690fe119ce9 (patch)
tree2a28394ed98d560ddbc547623dfb0f8272d457a4 /test/cpp/end2end/interceptors_util.cc
parentb5f4b4f1303578415bb7d87c6c6c26918fcf3a59 (diff)
clang tidy and clang format
Diffstat (limited to 'test/cpp/end2end/interceptors_util.cc')
-rw-r--r--test/cpp/end2end/interceptors_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/end2end/interceptors_util.cc b/test/cpp/end2end/interceptors_util.cc
index 5d59c1a4b7..e0ad7d1526 100644
--- a/test/cpp/end2end/interceptors_util.cc
+++ b/test/cpp/end2end/interceptors_util.cc
@@ -137,6 +137,7 @@ CreateDummyClientInterceptors() {
std::vector<std::unique_ptr<experimental::ClientInterceptorFactoryInterface>>
creators;
// Add 20 dummy interceptors before hijacking interceptor
+ creators.reserve(20);
for (auto i = 0; i < 20; i++) {
creators.push_back(std::unique_ptr<DummyInterceptorFactory>(
new DummyInterceptorFactory()));