VirtualBox

Changeset 99772 in vbox


Ignore:
Timestamp:
May 12, 2023 10:00:45 AM (19 months ago)
Author:
vboxsync
Message:

VBox/com: Added SafeArray::push_front() and implemented a new (initial) testcase for the SafeArray glue code [Windows build fix].

File:
1 edited

Legend:

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

    r99770 r99772  
    841841            SafeArray::Copy(m.arr[i - 1], m.arr[i]);
    842842#else
    843             Copy(m.arr[i - 1], m.arr[i]);
     843            Copy(m.raw[i - 1], m.raw[i]);
    844844#endif
    845845        }
     
    849849        ++ m.size;
    850850#else
    851         Copy(aElement, m.arr[0]);
     851        Copy(aElement, m.raw[0]);
    852852#endif
    853853        return true;
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