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/AudioAdapterImpl.cpp

    r26235 r27607  
    3434/////////////////////////////////////////////////////////////////////////////
    3535
    36 DEFINE_EMPTY_CTOR_DTOR (AudioAdapter)
     36AudioAdapter::AudioAdapter()
     37    : mParent(NULL)
     38{
     39}
     40
     41AudioAdapter::~AudioAdapter()
     42{
     43}
    3744
    3845HRESULT AudioAdapter::FinalConstruct()
     
    4350void AudioAdapter::FinalRelease()
    4451{
    45     uninit ();
     52    uninit();
    4653}
    4754
     
    169176    mData.free();
    170177
    171     unconst(mPeer).setNull();
    172     unconst(mParent).setNull();
     178    unconst(mPeer) = NULL;
     179    unconst(mParent) = NULL;
    173180}
    174181
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