diff options
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 |