HPACK - remove non-trivial ctors
They are not needed actually, found by clazy-non-pod-global-static check. Change-Id: Ice70f5065ffe8a39e2478eacff0ed1826806c8a6 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>bb10
parent
d3112ae8ef
commit
fb1cf63d77
|
|
@ -67,18 +67,6 @@ HeaderSize header_size(const HttpHeader &header)
|
|||
|
||||
struct BitPattern
|
||||
{
|
||||
BitPattern()
|
||||
: value(),
|
||||
bitLength()
|
||||
{
|
||||
}
|
||||
|
||||
BitPattern(uchar v, uchar len)
|
||||
: value(v),
|
||||
bitLength(len)
|
||||
{
|
||||
}
|
||||
|
||||
uchar value;
|
||||
uchar bitLength;
|
||||
};
|
||||
|
|
@ -102,11 +90,11 @@ using StreamError = BitIStream::Error;
|
|||
|
||||
// It's always 1 or 0 actually, but the number of bits to extract
|
||||
// from the input stream - differs.
|
||||
const BitPattern Indexed(1, 1);
|
||||
const BitPattern LiteralIncrementalIndexing(1, 2);
|
||||
const BitPattern LiteralNoIndexing(0, 4);
|
||||
const BitPattern LiteralNeverIndexing(1, 4);
|
||||
const BitPattern SizeUpdate(1, 3);
|
||||
const BitPattern Indexed = {1, 1};
|
||||
const BitPattern LiteralIncrementalIndexing = {1, 2};
|
||||
const BitPattern LiteralNoIndexing = {0, 4};
|
||||
const BitPattern LiteralNeverIndexing = {1, 4};
|
||||
const BitPattern SizeUpdate = {1, 3};
|
||||
|
||||
bool is_literal_field(const BitPattern &pattern)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue