HPACK - make Huffman 'CodeEntry' into POD
Found by clazy-non-pod-global-static check. Indeed, it can be a pod, no need in non-trivial ctors. Change-Id: I5f17e322a64f6c8d53b2acd8ea045d8beb1a72f9 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
cba24d65c4
commit
d3112ae8ef
@ -62,19 +62,6 @@ namespace HPack
|
||||
|
||||
struct CodeEntry
|
||||
{
|
||||
CodeEntry() : byteValue(),
|
||||
huffmanCode(),
|
||||
bitLength()
|
||||
{
|
||||
}
|
||||
|
||||
CodeEntry(quint32 val, quint32 code, quint32 len)
|
||||
: byteValue(val),
|
||||
huffmanCode(code),
|
||||
bitLength(len)
|
||||
{
|
||||
}
|
||||
|
||||
quint32 byteValue;
|
||||
quint32 huffmanCode;
|
||||
quint32 bitLength;
|
||||
|
Loading…
Reference in New Issue
Block a user