Changeset 83335 in vbox for trunk/src/VBox
- Timestamp:
- Mar 19, 2020 4:37:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r83323 r83335 982 982 mVecEntries.push_back(pEntry); 983 983 } 984 catch ( ...)984 catch (std::bad_alloc &) 985 985 { 986 986 if (pEntry) … … 1012 1012 mVecEntries.push_back(pEntry); 1013 1013 } 1014 catch ( ...)1014 catch (std::bad_alloc &) 1015 1015 { 1016 1016 if (pEntry) … … 1527 1527 mVecLists.push_back(pFsList); 1528 1528 } 1529 catch ( ...) /** @todo r=bird: Catch std:bad_alloc &, not ... Will avoid headscratching if something is thrown. */1529 catch (std::bad_alloc &) 1530 1530 { 1531 1531 vrc = VERR_NO_MEMORY; … … 1768 1768 mVecLists.push_back(pFsList); 1769 1769 } 1770 catch ( ...)1770 catch (std::bad_alloc &) 1771 1771 { 1772 1772 rc = VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.