1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +00:00

Rationalize some std::exception stuff.

This commit is contained in:
Arthur O'Dwyer
2021-03-21 17:56:38 -04:00
parent 4c10b17b7e
commit 1761b02b90
8 changed files with 32 additions and 34 deletions

View File

@@ -288,7 +288,7 @@ EX namespace history {
auto p = build_shortest_path(start, target);
path_for_lineanimation = p;
}
catch(hr_shortest_path_exception&) {
catch(const hr_shortest_path_exception&) {
addMessage("Could not build a path");
return;
}