Skip to content

Commit

Permalink
migrate uses of legacy alias folly::io::COMPRESSION_LEVEL_FASTEST
Browse files Browse the repository at this point in the history
Reviewed By: skrueger

Differential Revision: D68527363

fbshipit-source-id: 54a4d9aebcba13780c88501ffbde46a6d81b269c
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Jan 23, 2025
1 parent 6135122 commit 91810fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ CompressionAlgorithmSelector::toCodecTypeAndLevel(
case CompressionAlgorithm::ZLIB_LESS:
return {
folly::io::CodecType::ZLIB,
folly::io::COMPRESSION_LEVEL_FASTEST};
folly::compression::COMPRESSION_LEVEL_FASTEST};
case CompressionAlgorithm::ZSTD_LESS:
// ZSTD is special in that it also uses negative (faster) levels. Due to
// implementation details, folly segmented these negative ZSTD levels into
Expand All @@ -198,7 +198,7 @@ CompressionAlgorithmSelector::toCodecTypeAndLevel(
case CompressionAlgorithm::LZ4_LESS:
return {
folly::io::CodecType::LZ4_VARINT_SIZE,
folly::io::COMPRESSION_LEVEL_FASTEST};
folly::compression::COMPRESSION_LEVEL_FASTEST};

case CompressionAlgorithm::ZLIB_MORE:
return {
Expand Down

0 comments on commit 91810fe

Please sign in to comment.