From 7b96b68088c11a6bcb1242030b4f20c1d4ee672d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 18 Jan 2024 19:11:54 +0100 Subject: a --- serialize/packbits-impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'serialize/packbits-impl.cpp') 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 -- cgit v1.2.3