summaryrefslogtreecommitdiffhomepage
path: root/serialize/packbits-impl.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-18 19:11:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-18 19:11:54 +0100
commit7b96b68088c11a6bcb1242030b4f20c1d4ee672d (patch)
tree64152d47ca9e03eafcea25f8eaab01e6657fd186 /serialize/packbits-impl.cpp
parent68d0784fb7d0f2be40aec9fc5113a9a5351ccda0 (diff)
a
Diffstat (limited to 'serialize/packbits-impl.cpp')
-rw-r--r--serialize/packbits-impl.cpp5
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