[fdo-commits] r2622 - trunk/Fdo/Unmanaged/Inc/Common
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Fri Mar 2 16:39:24 EST 2007
Author: romicadascalescu
Date: 2007-03-02 16:39:23 -0500 (Fri, 02 Mar 2007)
New Revision: 2622
Modified:
trunk/Fdo/Unmanaged/Inc/Common/NamedCollection.h
Log:
Ticket #22: Improved performance for reading from XML, by reducing number of memory allocations and string copies - fixed Linux build
Modified: trunk/Fdo/Unmanaged/Inc/Common/NamedCollection.h
===================================================================
--- trunk/Fdo/Unmanaged/Inc/Common/NamedCollection.h 2007-03-01 23:47:12 UTC (rev 2621)
+++ trunk/Fdo/Unmanaged/Inc/Common/NamedCollection.h 2007-03-02 21:39:23 UTC (rev 2622)
@@ -109,7 +109,7 @@
// Do this check on found object by default
OBJ* canSetObj = obj;
- if ( !canSetObj && (GetCount() > 0))
+ if ( !canSetObj && (FdoCollection<OBJ, EXC>::GetCount() > 0))
// Object was not found, do check on first object in collection.
canSetObj = GetItem(0);
More information about the fdo-commits
mailing list