nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
separate_compiler: migrate mprops coloring
[nit.git]
/
src
/
layout_builders.nit
diff --git
a/src/layout_builders.nit
b/src/layout_builders.nit
index
bab048b
..
00e12a4
100644
(file)
--- a/
src/layout_builders.nit
+++ b/
src/layout_builders.nit
@@
-33,9
+33,9
@@
import coloring
# it contains necessary informations for basic table creation
class Layout[E: Object]
# Ids or each element
# it contains necessary informations for basic table creation
class Layout[E: Object]
# Ids or each element
- var ids: Map[E, Int] = new HashMap[E, Int]
+ var ids: Map[E, Int] writable = new HashMap[E, Int]
# Fixed positions of each element in all tables
# Fixed positions of each element in all tables
- var pos: Map[E, Int] = new HashMap[E, Int]
+ var pos: Map[E, Int] writable = new HashMap[E, Int]
end
# A PHLayout is used everywere the builder used perfect hashing
end
# A PHLayout is used everywere the builder used perfect hashing