Skip to content

Commit 91810fe

Browse files
yfeldblumfacebook-github-bot
authored andcommitted
migrate uses of legacy alias folly::io::COMPRESSION_LEVEL_FASTEST
Reviewed By: skrueger Differential Revision: D68527363 fbshipit-source-id: 54a4d9aebcba13780c88501ffbde46a6d81b269c
1 parent 6135122 commit 91810fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third-party/thrift/src/thrift/lib/cpp2/transport/rocket/compression/CompressionAlgorithmSelector.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ CompressionAlgorithmSelector::toCodecTypeAndLevel(
184184
case CompressionAlgorithm::ZLIB_LESS:
185185
return {
186186
folly::io::CodecType::ZLIB,
187-
folly::io::COMPRESSION_LEVEL_FASTEST};
187+
folly::compression::COMPRESSION_LEVEL_FASTEST};
188188
case CompressionAlgorithm::ZSTD_LESS:
189189
// ZSTD is special in that it also uses negative (faster) levels. Due to
190190
// implementation details, folly segmented these negative ZSTD levels into
@@ -198,7 +198,7 @@ CompressionAlgorithmSelector::toCodecTypeAndLevel(
198198
case CompressionAlgorithm::LZ4_LESS:
199199
return {
200200
folly::io::CodecType::LZ4_VARINT_SIZE,
201-
folly::io::COMPRESSION_LEVEL_FASTEST};
201+
folly::compression::COMPRESSION_LEVEL_FASTEST};
202202

203203
case CompressionAlgorithm::ZLIB_MORE:
204204
return {

0 commit comments

Comments
 (0)