This commit is contained in:
Anatoly Prohacky
2022-08-13 15:47:44 +10:00
parent 338b9e1999
commit a84816087c
7 changed files with 76 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ func veryNumBit(n NumBit) bool {
}
// unite slice int to int64
func Unite(a []AclBit) AclBit {
func Unite(a ...AclBit) AclBit {
var endacl AclBit
for _, a0 := range a {
endacl = endacl | a0