VirtualBox

Changeset 81670 in vbox


Ignore:
Timestamp:
Nov 5, 2019 11:17:59 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134430
Message:

IPRT/Rest: Fixes for deprecated implicit copy operators (GCC 9).

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/restbase.h

    r76585 r81670  
    153153    RTCRestObjectBase(RTCRestObjectBase const &a_rThat) RT_NOEXCEPT;
    154154    virtual ~RTCRestObjectBase();
     155
     156    /** Copy assignment operator. */
     157    RTCRestObjectBase &operator=(RTCRestObjectBase const &a_rThat) RT_NOEXCEPT;
    155158
    156159    /**
  • trunk/src/VBox/Runtime/common/rest/rest-primary-object-types.cpp

    r77262 r81670  
    6565{
    6666    /* nothing to do */
     67}
     68
     69
     70/** Copy assignment operator. */
     71RTCRestObjectBase &RTCRestObjectBase::operator=(RTCRestObjectBase const &a_rThat) RT_NOEXCEPT
     72{
     73    m_fNullIndicator = a_rThat.m_fNullIndicator;
     74    return *this;
    6775}
    6876
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