From 8b83afc1bb0acdde0bc0dd7f4fd49402b0e7d026 Mon Sep 17 00:00:00 2001 From: Jim Kowalkowski Date: Mon, 24 Mar 1997 12:41:49 +0000 Subject: [PATCH] fixed bug in gddDestructor constructor. --- src/gdd/gddUtilsI.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gdd/gddUtilsI.h b/src/gdd/gddUtilsI.h index c00a7d6e5..abbdb9f3d 100644 --- a/src/gdd/gddUtilsI.h +++ b/src/gdd/gddUtilsI.h @@ -7,6 +7,9 @@ * * $Id$ * $Log$ + * Revision 1.1 1997/03/21 01:56:12 jbk + * *** empty log message *** + * * */ @@ -21,7 +24,7 @@ inline aitIndex gddBounds::size(void) const { return count; } inline aitIndex gddBounds::first(void) const { return start; } inline gddDestructor::gddDestructor(void) { ref_cnt=0; arg=NULL; } -inline gddDestructor::gddDestructor(void* usr_arg) { ref_cnt=1; arg=usr_arg; } +inline gddDestructor::gddDestructor(void* usr_arg) { ref_cnt=0; arg=usr_arg; } inline void gddDestructor::reference(void) { ref_cnt++; } inline int gddDestructor::refCount(void) const { return ref_cnt; }