Skip to content

Commit 7eb0bc0

Browse files
generatedunixname537391475639613meta-codesync[bot]
authored andcommitted
xplat/proxygen/lib/http/codec
Reviewed By: JunqiWang Differential Revision: D91312896 fbshipit-source-id: 3d0c59bdbf557b537cb834dd6c468056dd6f1772
1 parent bacd97d commit 7eb0bc0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

proxygen/lib/http/codec/HTTP1xCodec.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ class HTTP1xCodec : public HTTPCodec {
2626
~HTTP1xCodec() override;
2727

2828
HTTP1xCodec(HTTP1xCodec&&) = default;
29+
HTTP1xCodec& operator=(HTTP1xCodec&&) = default;
30+
HTTP1xCodec(const HTTP1xCodec&) = delete;
31+
HTTP1xCodec& operator=(const HTTP1xCodec&) = delete;
2932

3033
// Returns codec for response generation, allowing to set flags that are
3134
// normally set during request processing.

proxygen/lib/http/codec/HTTP2Codec.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ class HTTP2Codec
253253
DeferredParseError() = default;
254254
DeferredParseError(DeferredParseError&& goner) = default;
255255
DeferredParseError& operator=(DeferredParseError&& goner) = default;
256+
~DeferredParseError() = default;
257+
DeferredParseError& operator=(const DeferredParseError&) = delete;
256258
DeferredParseError(const DeferredParseError& other)
257259
: errorCode(other.errorCode),
258260
connectionError(other.connectionError),

0 commit comments

Comments
 (0)