diff options
author | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-05-07 00:59:01 +0100 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2000-05-07 00:59:01 +0100 |
commit | 179977c13abc237a74de8ff8db74ff892186c68e (patch) | |
tree | bf63ddd6f851df65a31a370541fbdecfd301b4bc /boehm-gc/include/gc_cpp.h | |
parent | 5a3c491c8e9ec258ff37a58de522b6f535ea4ade (diff) | |
download | gcc-179977c13abc237a74de8ff8db74ff892186c68e.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r33746,
which included commits to RCS files with non-trunk default branches.
From-SVN: r33747
Diffstat (limited to 'boehm-gc/include/gc_cpp.h')
-rw-r--r-- | boehm-gc/include/gc_cpp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boehm-gc/include/gc_cpp.h b/boehm-gc/include/gc_cpp.h index 36013e135b9..35686fc3527 100644 --- a/boehm-gc/include/gc_cpp.h +++ b/boehm-gc/include/gc_cpp.h @@ -255,12 +255,12 @@ inline gc_cleanup::gc_cleanup() { GC_finalization_proc oldProc; void* oldData; void* base = GC_base( (void *) this ); - if (0 == base) return; - GC_REGISTER_FINALIZER_IGNORE_SELF( - base, cleanup, (void*) ((char*) this - (char*) base), + if (0 != base) { + GC_REGISTER_FINALIZER_IGNORE_SELF( + base, (GC_finalization_proc)cleanup, (void*) ((char*) this - (char*) base), &oldProc, &oldData ); - if (0 != oldProc) { - GC_REGISTER_FINALIZER_IGNORE_SELF( base, oldProc, oldData, 0, 0 );}} + if (0 != oldProc) { + GC_REGISTER_FINALIZER_IGNORE_SELF( base, oldProc, oldData, 0, 0 );}}} inline void* operator new( size_t size, |