MigrationFlags: format fix

This commit is contained in:
Jays2Kings 2022-05-07 04:44:52 -04:00
parent 694c765ad4
commit e4cdd6fd06

View file

@ -33,6 +33,6 @@ object MigrationFlags {
}
fun getFlagsFromPositions(positions: Array<Int>): Int {
return positions.fold(0, { accumulated, position -> accumulated or (1 shl position) })
return positions.fold(0) { accumulated, position -> accumulated or (1 shl position) }
}
}