From: Jorrit T. <jo...@us...> - 2004-10-22 09:07:52
|
Update of /cvsroot/planeshift/planeshift/src/common/paws In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18880/src/common/paws Modified Files: pawsgenericview.cpp pawsgenericview.h pawsobjectview.cpp pawsobjectview.h Log Message: - Fixed a potentially bad bug in the handling of iteration over a csList. Turns out the CS prefered way to iterate over a csList doesn't work properly (first item is skipped). So fixed this by using an alternate way to iterate over the list. - Removed more leak guard stuff. Index: pawsgenericview.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawsgenericview.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pawsgenericview.cpp 23 Aug 2004 12:23:46 -0000 1.2 --- pawsgenericview.cpp 22 Oct 2004 09:07:42 -0000 1.3 *************** *** 29,34 **** #include "util/psconst.h" - CS_LEAKGUARD_IMPLEMENT (pawsGenericView) - int pawsGenericView::idName = 0; --- 29,32 ---- Index: pawsgenericview.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawsgenericview.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pawsgenericview.h 23 Aug 2004 12:23:46 -0000 1.2 --- pawsgenericview.h 22 Oct 2004 09:07:42 -0000 1.3 *************** *** 44,49 **** { public: - CS_LEAKGUARD_DECLARE (pawsGenericView); - pawsGenericView( PawsManager* manager ); ~pawsGenericView(); --- 44,47 ---- Index: pawsobjectview.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawsobjectview.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** pawsobjectview.cpp 23 Aug 2004 12:23:46 -0000 1.15 --- pawsobjectview.cpp 22 Oct 2004 09:07:42 -0000 1.16 *************** *** 29,34 **** #include "util/psconst.h" - CS_LEAKGUARD_IMPLEMENT (pawsObjectView) - int pawsObjectView::idName = 0; --- 29,32 ---- Index: pawsobjectview.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/paws/pawsobjectview.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pawsobjectview.h 23 Aug 2004 12:23:46 -0000 1.7 --- pawsobjectview.h 22 Oct 2004 09:07:42 -0000 1.8 *************** *** 44,49 **** { public: - CS_LEAKGUARD_DECLARE (pawsObjectView); - pawsObjectView( PawsManager* manager ); ~pawsObjectView(); --- 44,47 ---- |