mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
MigrationFlags: format fix
This commit is contained in:
parent
694c765ad4
commit
e4cdd6fd06
1 changed files with 1 additions and 1 deletions
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue