mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:58:11 +00:00
LibGfx: Give PrefixCodeGroup a deleted copy ctor
This makes the accidental copy fixed in 2125ccdc19 a compile error. No behavior change.
This commit is contained in:
parent
a34b300393
commit
82182f4560
1 changed files with 4 additions and 0 deletions
|
@ -356,6 +356,10 @@ ErrorOr<u32> CanonicalCode::read_symbol(LittleEndianInputBitStream& bit_stream)
|
|||
// "From here on, we refer to this set as a prefix code group."
|
||||
class PrefixCodeGroup {
|
||||
public:
|
||||
PrefixCodeGroup() = default;
|
||||
PrefixCodeGroup(PrefixCodeGroup&&) = default;
|
||||
PrefixCodeGroup(PrefixCodeGroup const&) = delete;
|
||||
|
||||
CanonicalCode& operator[](int i) { return m_codes[i]; }
|
||||
CanonicalCode const& operator[](int i) const { return m_codes[i]; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue