aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks/bm_error.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-03 08:53:52 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-03-03 08:53:52 -0800
commite4a24195971fe2f909a76b210efcb2aee6ed0575 (patch)
treea037b11aac341a24a78a1133afda3ba0ac02e9a7 /test/cpp/microbenchmarks/bm_error.cc
parent5e3215338f3f69c626cced758e9c49e03252aa24 (diff)
Bugfixes
Diffstat (limited to 'test/cpp/microbenchmarks/bm_error.cc')
-rw-r--r--test/cpp/microbenchmarks/bm_error.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_error.cc b/test/cpp/microbenchmarks/bm_error.cc
index 964cd4c5da..95f19e7586 100644
--- a/test/cpp/microbenchmarks/bm_error.cc
+++ b/test/cpp/microbenchmarks/bm_error.cc
@@ -43,6 +43,8 @@ extern "C" {
#include "test/cpp/microbenchmarks/helpers.h"
#include "third_party/benchmark/include/benchmark/benchmark.h"
+auto& force_library_initialization = Library::get();
+
class ErrorDeleter {
public:
void operator()(grpc_error* error) { GRPC_ERROR_UNREF(error); }