summaryrefslogtreecommitdiffhomepage
path: root/serialize/packbits-impl.cpp
blob: b7a4eefc32e53a071153f11464360fecfdc5d5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "packbits-impl.hpp"
#include "compat/exception.hpp"

namespace floormat::Pack_impl {

void throw_on_read_nonzero() noexcept(false)
{
    throw std::runtime_error{"extra bits in pack_read()"};
}

} // namespace floormat::Pack_impl