VirtualBox

Changeset 72396 in vbox for trunk/src


Ignore:
Timestamp:
May 31, 2018 12:07:37 AM (7 years ago)
Author:
vboxsync
Message:

HostDnsService: more logical order for members in pimpl Data classes.

File:
1 edited

Legend:

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

    r72395 r72396  
    8282{
    8383    Data(bool aThreaded)
    84       : proxy(NULL),
     84      : virtualbox(NULL),
     85        proxy(NULL),
     86        fThreaded(aThreaded),
    8587        uLastExtraDataPoll(0),
    86         fLaxComparison(0),
    87         fThreaded(aThreaded),
    88         virtualbox(NULL)
     88        fLaxComparison(0)
    8989    {}
    9090
     91    VirtualBox *virtualbox;
    9192    HostDnsMonitorProxy *proxy;
    92     HostDnsInformation info;
     93
     94    const bool fThreaded;
     95    RTSEMEVENT hDnsInitEvent;
     96    RTTHREAD hMonitoringThread;
     97
    9398    uint64_t uLastExtraDataPoll;
    9499    uint32_t fLaxComparison;
    95     const bool fThreaded;
    96     RTTHREAD hMonitoringThread;
    97     RTSEMEVENT hDnsInitEvent;
    98     VirtualBox *virtualbox;
     100    HostDnsInformation info;
    99101};
    100102
     
    102104{
    103105    Data(HostDnsMonitor *aMonitor, VirtualBox *aParent)
    104       : info(NULL)
    105       , virtualbox(aParent)
    106       , monitor(aMonitor)
    107       , fModified(true)
     106      : virtualbox(aParent),
     107        monitor(aMonitor),
     108        info(NULL),
     109        fModified(true)
    108110    {}
    109111
    110     virtual ~Data()
     112    ~Data()
    111113    {
    112114        if (info)
     
    117119    }
    118120
    119     HostDnsInformation *info;
    120121    VirtualBox *virtualbox;
    121122    HostDnsMonitor *monitor;
     123    HostDnsInformation *info;
    122124    bool fModified;
    123125};
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