Rationalize some std::exception stuff.

This commit is contained in:
Arthur O'Dwyer
2021-03-21 17:57:09 -04:00
parent 4c10b17b7e
commit 1761b02b90
8 changed files with 32 additions and 34 deletions
+1 -1
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;
}