mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
Silence a warning to fix the build break on clang++ -std=c++11 -Wall
.
./rogueviz/rewriting.cpp:120:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] ginf[gInfOrderMixed].distlimit = {1, 1}; ^~~~ { }
This commit is contained in:
parent
a07e1d0809
commit
fe53cd09ad
@ -117,7 +117,7 @@ void load_rules(vector<string> vs) {
|
||||
|
||||
stop_game();
|
||||
set_geometry(gInfOrderMixed);
|
||||
ginf[gInfOrderMixed].distlimit = {1, 1};
|
||||
ginf[gInfOrderMixed].distlimit = {{1, 1}};
|
||||
ginf[gInfOrderMixed].flags |= qEXPERIMENTAL;
|
||||
|
||||
start = "";
|
||||
@ -189,4 +189,4 @@ auto hooks =
|
||||
+ addHook(hooks_drawcell, 100, labeller);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user