[ROSAPPS] Fix GCC8 warnings

This commit is contained in:
Victor Perevertkin 2019-11-06 11:54:24 +03:00
parent f7afca0973
commit 97d937add1
11 changed files with 53 additions and 42 deletions

View file

@ -49,7 +49,7 @@ void CConfig::Default()
try {
lpsStr = _strdup(dcfgDefaultResource);
DefaultResources.Insert(lpsStr);
} catch (bad_alloc e) {
} catch (bad_alloc&) {
free((void *)lpsStr);
Clear();
throw;