Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1:/tmp/cvs-serv4267/src/classes

Modified Files:
        MObject.cpp 
Log Message:
Replaced BOUND_POINTER with AutoPtr

Index: MObject.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MObject.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -b -u -2 -r1.25 -r1.26
--- MObject.cpp 3 Oct 2003 13:39:47 -0000       1.25
+++ MObject.cpp 3 Oct 2003 15:11:21 -0000       1.26
@@ -168,8 +168,8 @@
 extern void RefCounterAssign(MObjectRC *target,MObjectRC *source)
 {
-   if( target )
-      target->DecRef();
    if( source )
       source->IncRef();
+   if( target )
+      target->DecRef();
 }
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to