VirtualBox

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


Ignore:
Timestamp:
Oct 20, 2024 1:52:53 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165343
Message:

VBox/com/array.h: Returning a 'const T' type makes no sense for 'const T operator[] (size_t aIdx) const' claims VC 2022. jiraref:VBP-1171

File:
1 edited

Legend:

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

    r106061 r106511  
    10211021     * Const version of #operator[] that returns an array element by value.
    10221022     */
    1023     const T operator[] (size_t aIdx) const
     1023    T operator[] (size_t aIdx) const
    10241024    {
    10251025        AssertReturn(m.arr != NULL, *(const T *)&Zeroes[0]);
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