VirtualBox

Ignore:
Timestamp:
Mar 22, 2010 6:13:07 PM (15 years ago)
Author:
vboxsync
Message:

Main: remove templates for 'weak' com pointers which do nothing anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/NetworkAdapterImpl.cpp

    r26818 r27607  
    3737////////////////////////////////////////////////////////////////////////////////
    3838
    39 DEFINE_EMPTY_CTOR_DTOR (NetworkAdapter)
     39NetworkAdapter::NetworkAdapter()
     40    : mParent(NULL)
     41{
     42}
     43
     44NetworkAdapter::~NetworkAdapter()
     45{
     46}
    4047
    4148HRESULT NetworkAdapter::FinalConstruct()
     
    174181    mData.free();
    175182
    176     unconst(mPeer).setNull();
    177     unconst(mParent).setNull();
     183    unconst(mPeer) = NULL;
     184    unconst(mParent) = NULL;
    178185}
    179186
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