Skip to content

Commit

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

Differential Revision: D59009827

fbshipit-source-id: 91dd2937d3a755b43a16d8524009c0fdfd7f6b4e
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Jan 23, 2025
1 parent c3c8be3 commit a5a2095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxygen/lib/utils/test/ZstdTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void verifyPieces(std::unique_ptr<IOBuf> original,
std::unique_ptr<folly::IOBuf> compress(
const std::unique_ptr<folly::IOBuf>& in) {
auto codec = std::make_unique<ZstdStreamCompressor>(
folly::io::COMPRESSION_LEVEL_DEFAULT);
folly::compression::COMPRESSION_LEVEL_DEFAULT);
auto out = codec->compress(in.get());
return out;
}
Expand Down Expand Up @@ -128,7 +128,7 @@ void compressDecompressPiecesProxygenCodec(
bool independent,
bool reuseBuf) {
auto codec = std::make_unique<ZstdStreamCompressor>(
folly::io::COMPRESSION_LEVEL_DEFAULT, independent);
folly::compression::COMPRESSION_LEVEL_DEFAULT, independent);

std::vector<std::unique_ptr<folly::IOBuf>> compressed_pieces;

Expand Down

0 comments on commit a5a2095

Please sign in to comment.