diff options
author | 2018-04-06 12:42:33 -0700 | |
---|---|---|
committer | 2018-04-06 12:42:33 -0700 | |
commit | 52d4c7c8b6c0de4d951b45f366ad6419ac4138d4 (patch) | |
tree | c348c2d4d2bb55396ef9e818b16c8aaee4f3acdc /src/cpp/util/byte_buffer_cc.cc | |
parent | cc4fe1b3cd5fea5c240e749e1f1f52f5aaab91a2 (diff) |
Ensure lib is initialize for ByteBuffer use
Diffstat (limited to 'src/cpp/util/byte_buffer_cc.cc')
-rw-r--r-- | src/cpp/util/byte_buffer_cc.cc | 2 |
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_) { |