VirtualBox

Changeset 84345 in vbox for trunk


Ignore:
Timestamp:
May 18, 2020 6:32:27 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138027
Message:

HostDrivers/libs: VC++ 19.2 adjustments. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/cfg/VBoxNetCfg.cpp

    r83786 r84345  
    4141
    4242#include <Wbemidl.h>
    43 #include <comdef.h>
     43#include <comutil.h>
    4444
    4545#include <iprt/win/winsock2.h>
     
    914914    class NoAddRefRelease : public I
    915915    {
    916         private:
    917 #if !defined (VBOX_WITH_XPCOM)
    918             STDMETHOD_(ULONG, AddRef)() = 0;
    919             STDMETHOD_(ULONG, Release)() = 0;
    920 #else /* !defined (VBOX_WITH_XPCOM) */
    921             NS_IMETHOD_(nsrefcnt) AddRef(void) = 0;
    922             NS_IMETHOD_(nsrefcnt) Release(void) = 0;
    923 #endif /* !defined (VBOX_WITH_XPCOM) */
     916    public:
     917        virtual ~NoAddRefRelease() { /* Make VC++ 19.2 happy. */ }
     918    private:
     919#ifndef VBOX_WITH_XPCOM
     920        STDMETHOD_(ULONG, AddRef)() = 0;
     921        STDMETHOD_(ULONG, Release)() = 0;
     922#else
     923        NS_IMETHOD_(nsrefcnt) AddRef(void) = 0;
     924        NS_IMETHOD_(nsrefcnt) Release(void) = 0;
     925#endif
    924926    };
    925927
Note: See TracChangeset for help on using the changeset viewer.

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