1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 23:47:40 +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

@@ -1410,7 +1410,7 @@ void doTraps() {
bullet->parenttype = moArrowTrap;
additional.push_back(bullet);
}
catch(out_of_range) {}
catch(out_of_range&) {}
}
else if(d == 3) {
auto tl = traplimits(t.second);