VirtualBox

Changeset 84364 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 19, 2020 11:21:19 AM (5 years ago)
Author:
vboxsync
Message:

NetworkServices: Adjustments for VC++ 19.2. bugref:8489

Location:
trunk/src/VBox/NetworkServices/NetLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetBaseService.h

    r82968 r84364  
    2828{
    2929public:
    30 virtual int                 hlpUDPBroadcast(unsigned uSrcPort, unsigned uDstPort,
    31                                         void const *pvData, size_t cbData) const = 0;
     30    virtual ~VBoxNetHlpUDPService() { /* Make VC++ 19.2 happy. */ }
     31    virtual int hlpUDPBroadcast(unsigned uSrcPort, unsigned uDstPort, void const *pvData, size_t cbData) const = 0;
    3232};
    3333
     
    3636{
    3737public:
     38    virtual ~VBoxNetLockee() { /* Make VC++ 19.2 happy. */ }
    3839    virtual int  syncEnter() = 0;
    3940    virtual int  syncLeave() = 0;
     
    4445{
    4546public:
    46     VBoxNetALock(VBoxNetLockee *a_lck):m_lck(a_lck)
     47    VBoxNetALock(VBoxNetLockee *a_lck) : m_lck(a_lck)
    4748    {
    4849        if (m_lck)
     
    6162
    6263# ifndef BASE_SERVICES_ONLY
    63 class VBoxNetBaseService: public VBoxNetHlpUDPService, public VBoxNetLockee
     64class VBoxNetBaseService : public VBoxNetHlpUDPService, public VBoxNetLockee
    6465{
    6566public:
  • trunk/src/VBox/NetworkServices/NetLib/utils.h

    r82968 r84364  
    8585class NATNetworkEventAdapter
    8686{
    87     public:
     87public:
     88    virtual ~NATNetworkEventAdapter() { /* Make VC++ 19.2 happy. */ }
    8889    virtual HRESULT HandleEvent(VBoxEventType_T aEventType, IEvent *pEvent) = 0;
    8990};
     
    9293class NATNetworkListener
    9394{
    94     public:
     95public:
    9596    NATNetworkListener():m_pNAT(NULL){}
    9697
     
    119120    }
    120121
    121     private:
     122private:
    122123    NATNetworkEventAdapter *m_pNAT;
    123124};
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