mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-30 03:41:25 +03:00
Introduce a "BufHelpers" typealias
Summary: This introduces a more generic typealias so that we can, for instance, write `BufHelpers::createCombined` instead of `folly::IOBuf::createCombined`. Reviewed By: jbeshay Differential Revision: D73127508 fbshipit-source-id: d585790904efc8e9f92d79cbf766bafe0e84a69f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
44561513a5
commit
2f33a3681a
@@ -47,7 +47,7 @@ void FileQLogger::setupStream() {
|
||||
if (compress_) {
|
||||
compressionCodec_ =
|
||||
folly::compression::getStreamCodec(folly::compression::CodecType::GZIP);
|
||||
compressionBuffer_ = folly::IOBuf::createCombined(kCompressionBufferSize);
|
||||
compressionBuffer_ = BufHelpers::createCombined(kCompressionBufferSize);
|
||||
}
|
||||
|
||||
// Create the base json
|
||||
|
||||
Reference in New Issue
Block a user