Code Cleanup
- Constify some catches.
This commit is contained in:
committed by
Paul Beckingham
parent
589d8fab5c
commit
7a6cdde571
@@ -319,7 +319,7 @@ void TF2::load_tasks ()
|
||||
_loaded_tasks = true;
|
||||
}
|
||||
|
||||
catch (std::string& e)
|
||||
catch (const std::string& e)
|
||||
{
|
||||
throw e + format (STRING_TDB2_PARSE_ERROR, _file._data, line_number);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user