We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b02511 commit bc25957Copy full SHA for bc25957
1 file changed
OpenTESArena/src/UI/UiLibrary.cpp
@@ -392,7 +392,7 @@ namespace
392
*outValue = std::stoi(str, &index);
393
return index == str.size();
394
}
395
- catch (std::exception)
+ catch (const std::exception&)
396
{
397
DebugLogErrorFormat("Couldn't parse \"%s\" as an integer.", str.c_str());
398
return false;
@@ -407,7 +407,7 @@ namespace
407
*outValue = std::stod(str, &index);
408
409
410
411
412
DebugLogErrorFormat("Couldn't parse \"%s\" as a double.", str.c_str());
413
0 commit comments