VirtualBox

Changeset 54263 in vbox for trunk


Ignore:
Timestamp:
Feb 18, 2015 2:43:27 PM (10 years ago)
Author:
vboxsync
Message:

Const-poison VmNameSlotKey. Drop redundant typedef.

File:
1 edited

Legend:

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

    r48776 r54263  
    5858typedef DhcpOptMap::value_type DhcpOptValuePair;
    5959
    60 struct VmNameSlotKey;
    61 typedef struct VmNameSlotKey VmNameSlotKey;
    62 
    6360struct VmNameSlotKey
    6461{
    65     std::string VmName;
     62    const std::string VmName;
    6663    uint8_t u8Slot;
    6764
    68     VmNameSlotKey(std::string aVmName, uint8_t aSlot) :
     65    VmNameSlotKey(const std::string &aVmName, uint8_t aSlot) :
    6966      VmName(aVmName),
    7067      u8Slot(aSlot) {}
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