From dba965a772c01a497456462e1e3e5cdf867b3c33 Mon Sep 17 00:00:00 2001 From: Hani Damlaj Date: Thu, 14 Sep 2023 06:07:13 -0700 Subject: [PATCH] CompressionFilterFactory Summary: removes const modifier from `FilterParams::compressibleContentTypes` to allow copy via assignment operator Reviewed By: afrind Differential Revision: D49109290 fbshipit-source-id: c07eb834b8f0c3dbc8a0bc94130991dad1f0feb1 --- proxygen/lib/utils/CompressionFilterUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxygen/lib/utils/CompressionFilterUtils.h b/proxygen/lib/utils/CompressionFilterUtils.h index 8698e31508..4640fbe934 100644 --- a/proxygen/lib/utils/CompressionFilterUtils.h +++ b/proxygen/lib/utils/CompressionFilterUtils.h @@ -36,7 +36,7 @@ class CompressionFilterUtils { uint32_t minimumCompressionSize; StreamCompressorFactory compressorFactory; std::string headerEncoding; - const std::set compressibleContentTypes; + std::set compressibleContentTypes; }; static folly::Optional getFilterParams(