VirtualBox

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


Ignore:
Timestamp:
Dec 4, 2013 5:37:08 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91072
Message:

array.h: SafeArray(const SafeArray&) has to implicitly call this->Copy(...) instead of Copy(...), because inheritance isn't working as expected here (C++-FAQ[35.19] http://www.parashift.com/c++-faq-lite/nondependent-name-lookup-members.html)

File:
1 edited

Legend:

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

    r49576 r49765  
    16561656             it != aCntr.end(); ++ it, ++ i)
    16571657#ifdef VBOX_WITH_XPCOM
    1658             Copy(*it, Base::m.arr[i]);
     1658            this->Copy(*it, Base::m.arr[i]);
    16591659#else
    16601660            Copy(*it, Base::m.raw[i]);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette