VirtualBox

Changeset 49825 in vbox for trunk/src


Ignore:
Timestamp:
Dec 9, 2013 9:12:47 AM (11 years ago)
Author:
vboxsync
Message:

NetLib: 'const' is commented out because of compilation erro on Windows host, but it's intended that this function isn't modify event type array (build fix.)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NetLib/ComHostUtils.cpp

    r49822 r49825  
    193193
    194194int createNatListener(ComNatListenerPtr& listener, const ComVirtualBoxPtr& vboxptr,
    195                              NATNetworkEventAdapter *adapter, const ComEventTypeArray& events)
     195                      NATNetworkEventAdapter *adapter, /* const */ ComEventTypeArray& events)
    196196{
    197197    ComObjPtr<NATNetworkListenerImpl> obj;
  • trunk/src/VBox/NetworkServices/NetLib/utils.h

    r49819 r49825  
    127127typedef com::SafeArray<VBoxEventType_T> ComEventTypeArray;
    128128
     129/* XXX: const is commented out because of compilation erro on Windows host, but it's intended that this function
     130 isn't modify event type array */
    129131int createNatListener(ComNatListenerPtr& listener, const ComVirtualBoxPtr& vboxptr,
    130                       NATNetworkEventAdapter *adapter, const ComEventTypeArray& events);
     132                      NATNetworkEventAdapter *adapter, /* const */ ComEventTypeArray& events);
    131133#endif
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