summaryrefslogtreecommitdiffstats
path: root/include/osmocore/bitvec.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-01-16 17:38:22 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-01-16 20:29:48 +0100
commit5853f084a0212b7f50cbdd18cfbc15f90de240ff (patch)
tree0df86719874c3161fb9724c0bd2c9843a8225b93 /include/osmocore/bitvec.h
parent52c07ca6c5708e4b20d8a6b6f40d09f74fef43ba (diff)
msgb: Make sure at compile time that headroom is smaller than size
All current code is using constants to allocate the msgb with headroom. Use a static_assert to make sure that the headroom is smaller than the size. This makes API misusage unlikely to happen.
Diffstat (limited to 'include/osmocore/bitvec.h')
0 files changed, 0 insertions, 0 deletions