mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
Fix a compiler error from g++-4.6 -std=c++0x
.
reg3.cpp:1129:47: error: expected primary-expression before ‘{’ token This doesn't completely fix the build break on gcc46. It's probably time to retire that build from TravisCI.
This commit is contained in:
parent
ed15d381aa
commit
a07e1d0809
2
reg3.cpp
2
reg3.cpp
@ -1126,7 +1126,7 @@ EX namespace reg3 {
|
||||
vector<int> possible;
|
||||
int pfv = parent->fieldval;
|
||||
if(geometry == gSpace535) pfv = 0;
|
||||
for(auto s: nonlooping_earlier_states[{pfv, id}]) possible.push_back(s.second);
|
||||
for(auto s: nonlooping_earlier_states[address{pfv, id}]) possible.push_back(s.second);
|
||||
id1 = hrand_elt(possible, 0);
|
||||
res->fiftyval = id1;
|
||||
find_emeraldval(res, parent, d);
|
||||
|
Loading…
Reference in New Issue
Block a user