aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2018-04-09 13:02:47 -0700
committerGravatar GitHub <noreply@github.com>2018-04-09 13:02:47 -0700
commitc307805fe7f5dc38e1219cc4cc8a0d4a64f5d648 (patch)
tree2486163d35b0905273e2c594e1ea765e1f6902f7 /src
parente91cfed3a2571930cb2738723a5f6ea9ab6dc040 (diff)
parent52d4c7c8b6c0de4d951b45f366ad6419ac4138d4 (diff)
Merge pull request #14971 from ncteisen/byte-buffer
Ensure Lib is Initialize for ByteBuffer Use
Diffstat (limited to 'src')
-rw-r--r--src/cpp/util/byte_buffer_cc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpp/util/byte_buffer_cc.cc b/src/cpp/util/byte_buffer_cc.cc
index d976b69440..8700f96d8d 100644
--- a/src/cpp/util/byte_buffer_cc.cc
+++ b/src/cpp/util/byte_buffer_cc.cc
@@ -23,6 +23,8 @@
namespace grpc {
+static internal::GrpcLibraryInitializer g_gli_initializer;
+
Status ByteBuffer::Dump(std::vector<Slice>* slices) const {
slices->clear();
if (!buffer_) {