nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: prepare for new constructors
[nit.git]
/
lib
/
bucketed_game.nit
diff --git
a/lib/bucketed_game.nit
b/lib/bucketed_game.nit
index
b326d29
..
cdedc32
100644
(file)
--- a/
lib/bucketed_game.nit
+++ b/
lib/bucketed_game.nit
@@
-38,7
+38,7
@@
class Buckets[G: Game]
super Turnable[G]
type BUCKET: HashSet[Bucketable[G]]
- private var buckets: Array[BUCKET]
+ private var buckets: Array[BUCKET] is noinit
private var next_bucket: nullable BUCKET = null
private var current_bucket_key: Int = -1