VirtualBox

Changeset 74997 in vbox


Ignore:
Timestamp:
Oct 23, 2018 1:13:15 PM (6 years ago)
Author:
vboxsync
Message:

tstRTCRest-1: Array test fix. bugref:9167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTCRest-1.cpp

    r74425 r74997  
    14851485public:
    14861486    static size_t s_cInstances;
    1487     MyRestInt16() : RTCRestInt16() { s_cInstances++; }
    1488     MyRestInt16(MyRestInt16 const &a_rThat) : RTCRestInt16(a_rThat) { s_cInstances++; }
    1489     MyRestInt16(int16_t a_iValue) : RTCRestInt16(a_iValue) { s_cInstances++; }
    1490     ~MyRestInt16() { s_cInstances--; }
     1487    MyRestInt16() : RTCRestInt16() { s_cInstances++; /*printf("%p: default %02u; cInstances %zu\n", this, m_iValue, s_cInstances);*/  }
     1488    MyRestInt16(MyRestInt16 const &a_rThat) : RTCRestInt16(a_rThat) { s_cInstances++; /*printf("%p: copy    %02u; cInstances %zu\n", this, m_iValue, s_cInstances);*/ }
     1489    MyRestInt16(int16_t a_iValue) : RTCRestInt16(a_iValue) { s_cInstances++; /*printf("%p: value   %02u; cInstances %zu\n", this, m_iValue, s_cInstances);*/ }
     1490    ~MyRestInt16() { s_cInstances--; /*printf("%p: delete  %02u; cInstances %zu\n", this, m_iValue, s_cInstances);*/ }
     1491    virtual RTCRestObjectBase *baseClone() const RT_NOEXCEPT RT_OVERRIDE { /*printf("clone\n");*/ return new MyRestInt16(*this); }
    14911492};
    14921493
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