VirtualBox

Changeset 36659 in vbox


Ignore:
Timestamp:
Apr 12, 2011 3:53:44 PM (14 years ago)
Author:
vboxsync
Message:

com/list: do r71131 right

Location:
trunk/include/VBox/com
Files:
2 edited

Legend:

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

    r36656 r36659  
    128128    operator const RTCList<RTCString, RTCString*>&()
    129129    {
    130         return static_cast<const RTCList<RTCString, RTCString*>&>(*this);
     130        return *reinterpret_cast<RTCList<RTCString, RTCString*> *>(this);
    131131    }
    132132
  • trunk/include/VBox/com/mtlist.h

    r36656 r36659  
    128128    operator const RTCMTList<RTCString, RTCString*>&()
    129129    {
    130         return static_cast<const RTCList<RTCString, RTCString*>&>(*this);
     130        return *reinterpret_cast<RTCMTList<RTCString, RTCString*> *>(this);
    131131    }
    132132
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