VirtualBox

Ignore:
Timestamp:
Oct 19, 2024 3:12:39 AM (4 months ago)
Author:
vboxsync
Message:

iprt/rest: Shut up some complains about default copy assignment operator. jiraref:VBP-1171

Location:
trunk/src/VBox/Runtime/common/rest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rest/RTCRestOutputBase.cpp

    r106061 r106498  
    5454RTCRestOutputBase::~RTCRestOutputBase()
    5555{
     56}
     57
     58
     59RTCRestOutputBase::RTCRestOutputBase(RTCRestOutputBase const &a_rThat) RT_NOEXCEPT
     60    : m_uState(a_rThat.m_uState)
     61{
     62}
     63
     64
     65RTCRestOutputBase &RTCRestOutputBase::operator=(RTCRestOutputBase const &a_rThat) RT_NOEXCEPT
     66{
     67    m_uState = a_rThat.m_uState;
     68    return *this;
    5669}
    5770
  • trunk/src/VBox/Runtime/common/rest/RTCRestOutputPrettyBase.cpp

    r106061 r106498  
    5454RTCRestOutputPrettyBase::~RTCRestOutputPrettyBase()
    5555{
     56}
     57
     58
     59RTCRestOutputPrettyBase::RTCRestOutputPrettyBase(const RTCRestOutputPrettyBase &a_rThat) RT_NOEXCEPT
     60    : RTCRestOutputBase(a_rThat)
     61{
     62}
     63
     64
     65RTCRestOutputPrettyBase &RTCRestOutputPrettyBase::operator=(const RTCRestOutputPrettyBase &a_rThat) RT_NOEXCEPT
     66{
     67    RTCRestOutputBase::operator=(a_rThat);
     68    return *this;
    5669}
    5770
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