VirtualBox

Changeset 49560 in vbox for trunk/src/VBox/NetworkServices


Ignore:
Timestamp:
Nov 20, 2013 3:05:10 AM (11 years ago)
Author:
vboxsync
Message:

NetworkServices: VBoxNetBaseService::isMainNeeded() +const.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r49559 r49560  
    167167    virtual int parseOpt(int rc, const RTGETOPTUNION& getOptVal);
    168168    /* VBoxNetNAT always needs Main */
    169     virtual bool        isMainNeeded() { return true; }
     169    virtual bool isMainNeeded() const { return true; }
    170170   private:
    171171    struct proxy_options m_ProxyOptions;
  • trunk/src/VBox/NetworkServices/NetLib/VBoxNetBaseService.h

    r49558 r49560  
    3939
    4040    virtual int         init(void);
    41     virtual bool        isMainNeeded() { return m_fNeedMain; }
     41    virtual bool        isMainNeeded() const { return m_fNeedMain; }
    4242    /* VirtualBox instance */
    4343    ComPtr<IVirtualBox> virtualbox;
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