VirtualBox

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


Ignore:
Timestamp:
Jun 20, 2011 1:42:26 PM (14 years ago)
Author:
vboxsync
Message:

com: tabs again

File:
1 edited

Legend:

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

    r37553 r37557  
    10131013     * Returns a copy of this SafeArray as RTCList<T>.
    10141014     */
    1015         RTCList<T> toList()
    1016         {
    1017                 RTCList<T> list(size());
    1018                 for (size_t i = 0; i < size(); ++i)
    1019 #ifdef VBOX_WITH_XPCOM
    1020                         list.append(m.arr[i]);
    1021 #else
    1022                         list.append(m.raw[i]);
    1023 #endif
    1024                 return list;
    1025         }
     1015    RTCList<T> toList()
     1016    {
     1017        RTCList<T> list(size());
     1018        for (size_t i = 0; i < size(); ++i)
     1019#ifdef VBOX_WITH_XPCOM
     1020            list.append(m.arr[i]);
     1021#else
     1022            list.append(m.raw[i]);
     1023#endif
     1024        return list;
     1025    }
    10261026
    10271027    inline void initFrom(const com::SafeArray<T> & aRef);
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