VirtualBox

Changeset 70114 in vbox for trunk/include/VBox/com


Ignore:
Timestamp:
Dec 13, 2017 3:52:42 PM (7 years ago)
Author:
vboxsync
Message:

(XP)COM: optimize safearray copying (partially, only dealing with the simple case where types are identical) and destruction, making the GUI have less overhead for some API calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/array.h

    r69107 r70114  
    239239
    240240    /** Initializes memory occupied by aElem. */
    241     static void Uninit(T &aElem) { aElem = 0; }
     241    static void Uninit(T &aElem) { RT_NOREF(aElem); }
    242242
    243243    /** Creates a deep copy of aFrom and stores it in aTo. */
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