summaryrefslogtreecommitdiff
path: root/rrdformat/rrdbinary/util.go
blob: 1ae2c571c0765a1f28c112f7201ce5fc1a5be106 (plain)
1
2
3
4
5
6
7
package rrdbinary

func panicUnless(ok bool) {
	if !ok {
		panic("assertion failed")
	}
}