1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-19 07:57:39 +00:00

fix compiler warnings: catch(out_of_range&)

This commit is contained in:
Zeno Rogue
2018-06-07 13:58:00 +02:00
parent b8dbaadff6
commit d3662a935d
5 changed files with 9 additions and 9 deletions

View File

@@ -584,7 +584,7 @@ void buildRug() {
else if(v > w && v > w2)
addTriangle(v, w, w2);
}
catch(out_of_range) {}
catch(out_of_range&) {}
}
Xprintf("vertices = %d triangles= %d\n", size(points), size(triangles));