Changeset 86398 in vbox
- Timestamp:
- Oct 1, 2020 7:03:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/tests/TestCOMPtr.cpp
r40300 r86398 158 158 printf(">>"); 159 159 160 --refcount_;160 nsrefcnt const newcount = --refcount_; 161 161 printf("IFoo@%p::Release(), refcount --> %d\n", 162 STATIC_CAST(void*, this), refcount_);163 164 if ( ! refcount_)162 STATIC_CAST(void*, this), newcount); 163 164 if ( !newcount ) 165 165 { 166 166 printf(" delete IFoo@%p\n", STATIC_CAST(void*, this)); … … 171 171 printf("<<IFoo@%p::Release()\n", STATIC_CAST(void*, this)); 172 172 173 return refcount_;173 return newcount; 174 174 } 175 175
Note:
See TracChangeset
for help on using the changeset viewer.