Omit sensitivity level inclusion check when omitted

This commit is contained in:
Tomaž Jerman
2022-05-26 15:12:20 +02:00
parent 94fbe4bd44
commit 9223feac95
+4
View File
@@ -16,6 +16,10 @@ type (
)
func (sli sensitivityLevelIndex) includes(l uint64) (ok bool) {
if l == 0 {
return true
}
_, ok = sli.byID[l]
return
}