VirtualBox

Changeset 73506 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 5, 2018 2:01:26 PM (6 years ago)
Author:
vboxsync
Message:

VBoxManage: GCC 8.2.0 fixes

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDebugVM.cpp

    r69500 r73506  
    456456                        throw std::bad_alloc();
    457457                }
    458                 catch (std::bad_alloc)
     458                catch (std::bad_alloc &)
    459459                {
    460460                    RTMsgError("Out of memory\n");
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r72958 r73506  
    16771677        } while (0);
    16781678    }
    1679     catch (std::bad_alloc)
     1679    catch (std::bad_alloc &)
    16801680    {
    16811681        rc = E_OUTOFMEMORY;
     
    22542254        }
    22552255    }
    2256     catch (std::bad_alloc)
     2256    catch (std::bad_alloc &)
    22572257    {
    22582258        vrc = VERR_NO_MEMORY;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette