diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-18 19:11:54 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-18 19:11:54 +0100 |
| commit | 7b96b68088c11a6bcb1242030b4f20c1d4ee672d (patch) | |
| tree | 64152d47ca9e03eafcea25f8eaab01e6657fd186 /serialize/packbits-impl.cpp | |
| parent | 68d0784fb7d0f2be40aec9fc5113a9a5351ccda0 (diff) | |
a
Diffstat (limited to 'serialize/packbits-impl.cpp')
| -rw-r--r-- | serialize/packbits-impl.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/serialize/packbits-impl.cpp b/serialize/packbits-impl.cpp index b7a4eefc..b03b31b6 100644 --- a/serialize/packbits-impl.cpp +++ b/serialize/packbits-impl.cpp @@ -8,4 +8,9 @@ void throw_on_read_nonzero() noexcept(false) throw std::runtime_error{"extra bits in pack_read()"}; } +void throw_on_write_input_bit_overflow() noexcept(false) +{ + throw std::runtime_error{"extra bits in pack_write()"}; +} + } // namespace floormat::Pack_impl |
