Skip to content

Commit

Permalink
migrate uses of legacy alias folly::io::getCodec in hphp/
Browse files Browse the repository at this point in the history
Reviewed By: Orvid

Differential Revision: D68642735

fbshipit-source-id: 6dcfb3144658990a8a36ac988b373ca1e145d00f
yfeldblum authored and facebook-github-bot committed Jan 29, 2025
1 parent aecae36 commit a502a94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hphp/util/test/zstd-test.cpp
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ TEST(ZstdTest, Chunks) {
}

TEST(ZstdTest, ContextReuseSingleShot) {
auto codec = folly::io::getCodec(folly::io::CodecType::ZSTD);
auto codec = folly::compression::getCodec(folly::io::CodecType::ZSTD);

size_t len1;
size_t len2;
@@ -138,7 +138,7 @@ TEST(ZstdTest, ContextReuseSingleShot) {
}

TEST(ZstdTest, ContextReuseStreamed) {
auto codec = folly::io::getCodec(folly::io::CodecType::ZSTD);
auto codec = folly::compression::getCodec(folly::io::CodecType::ZSTD);

size_t full_len1;
size_t full_len2;
@@ -197,7 +197,7 @@ TEST(ZstdTest, ContextReuseStreamed) {
}

TEST(ZstdTest, Checksumming) {
auto codec = folly::io::getCodec(folly::io::CodecType::ZSTD);
auto codec = folly::compression::getCodec(folly::io::CodecType::ZSTD);
size_t len1;
size_t len2;

@@ -237,7 +237,7 @@ TEST(ZstdTest, Checksumming) {
}

TEST(ZstdTest, Superblock) {
auto codec = folly::io::getCodec(folly::io::CodecType::ZSTD);
auto codec = folly::compression::getCodec(folly::io::CodecType::ZSTD);
size_t len1;
size_t len2;

0 comments on commit a502a94

Please sign in to comment.