[Igarden-commit] Garden/source/Database View.h,1.5,1.5.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-05 02:20:11
|
Update of /cvsroot/igarden/Garden/source/Database In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv7345 Modified Files: Tag: Release_branch_v1 View.h Log Message: Fix problem with cached string tags on map Index: View.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/Database/View.h,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** View.h 15 Apr 2006 18:37:58 -0000 1.5 --- View.h 5 Jan 2007 02:20:10 -0000 1.5.2.1 *************** *** 43,58 **** }; ! struct ltstr ! { ! bool operator()(const char *s1, const char *s2) const ! { ! return CIstrcmp(s1, s2) < 0; ! } ! }; typedef struct { ! propertyID_t _propID; ! std::map<const char*, int, ltstr> _strMap; } stringKey_t; --- 43,52 ---- }; ! typedef std::map<String, int> stringMap_t; typedef struct { ! propertyID_t _propID; ! stringMap_t _strMap; } stringKey_t; |