mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-07-29 03:41:11 +03:00
Move a func to fix mvfst mobile build
Summary: Broke in one of the previous commits. Reviewed By: hanidamlaj Differential Revision: D47962468 fbshipit-source-id: 532e9356cb7e1bba2e45ac0a18440a12aed1eb25
This commit is contained in:
committed by
Facebook GitHub Bot
parent
502d26d19b
commit
94c254716d
@ -135,13 +135,6 @@ class ThreadLocalBatchWriterCache : public folly::AsyncTimeout {
|
||||
|
||||
namespace quic {
|
||||
|
||||
bool useSinglePacketInplaceBatchWriter(
|
||||
uint32_t maxBatchSize,
|
||||
quic::DataPathType dataPathType) {
|
||||
return maxBatchSize == 1 &&
|
||||
dataPathType == quic::DataPathType::ContinuousMemory;
|
||||
}
|
||||
|
||||
// BatchWriterDeleter
|
||||
void BatchWriterDeleter::operator()(BatchWriter* batchWriter) {
|
||||
#if USE_THREAD_LOCAL_BATCH_WRITER
|
||||
|
Reference in New Issue
Block a user