Changeset 74997 in vbox
- Timestamp:
- Oct 23, 2018 1:13:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTCRest-1.cpp
r74425 r74997 1485 1485 public: 1486 1486 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); } 1491 1492 }; 1492 1493
Note:
See TracChangeset
for help on using the changeset viewer.