VirtualBox

Changeset 55198 in vbox


Ignore:
Timestamp:
Apr 13, 2015 1:59:07 AM (10 years ago)
Author:
vboxsync
Message:

Main/HostDnsService: drop const from VirtualBox *aParent as
GetExtraData() method is not const.

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostDnsService.cpp

    r54816 r55198  
    9999struct HostDnsMonitorProxy::Data
    100100{
    101     Data(const HostDnsMonitor *aMonitor, const VirtualBox *aParent)
     101    Data(const HostDnsMonitor *aMonitor, VirtualBox *aParent)
    102102      : info(NULL)
    103103      , virtualbox(aParent)
     
    116116
    117117    HostDnsInformation *info;
    118     const VirtualBox *virtualbox;
     118    VirtualBox *virtualbox;
    119119    const HostDnsMonitor *monitor;
    120120    bool fModified;
     
    262262}
    263263
    264 void HostDnsMonitorProxy::init(const HostDnsMonitor *mon, const VirtualBox* aParent)
     264void HostDnsMonitorProxy::init(const HostDnsMonitor *mon, VirtualBox* aParent)
    265265{
    266266    m = new HostDnsMonitorProxy::Data(mon, aParent);
  • trunk/src/VBox/Main/src-server/HostDnsService.h

    r54662 r55198  
    109109    HostDnsMonitorProxy();
    110110    ~HostDnsMonitorProxy();
    111     void init(const HostDnsMonitor *aMonitor, const VirtualBox *aParent);
     111    void init(const HostDnsMonitor *aMonitor, VirtualBox *aParent);
    112112    void notify() const;
    113113
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