mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
added const
This commit is contained in:
parent
c52f8e94d2
commit
76d0538b3c
@ -157,7 +157,7 @@ bool step(int delta) {
|
|||||||
|
|
||||||
case 2: {
|
case 2: {
|
||||||
|
|
||||||
sort(cells.begin(), cells.end(), [] (cellinfo &s1, cellinfo &s2) { return hdist0(s1.p) < hdist0(s2.p); });
|
sort(cells.begin(), cells.end(), [] (const cellinfo &s1, const cellinfo &s2) { return hdist0(s1.p) < hdist0(s2.p); });
|
||||||
make_cells_of_heptagon();
|
make_cells_of_heptagon();
|
||||||
|
|
||||||
edgelens.clear();
|
edgelens.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user