1
0
mirror of https://github.com/luanti-org/minetestmapper.git synced 2025-10-06 05:45:21 +02:00

Fix incorrect exception types

This commit is contained in:
sfan5
2018-10-20 22:38:09 +02:00
parent f909304e1e
commit 657499e981
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ inline std::string read_setting_default(const std::string &name, std::istream &i
{
try {
return read_setting(name, is);
} catch(std::runtime_error e) {
} catch(std::runtime_error &e) {
return def;
}
}