Update of /cvsroot/csp/APPLICATIONS/SimData/Include/SimData
In directory sc8-pr-cvs1:/tmp/cvs-serv23090
Modified Files:
HashUtility.h
Log Message:
see CHANGES.current
Index: HashUtility.h
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/SimData/Include/SimData/HashUtility.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** HashUtility.h 24 Oct 2003 06:44:13 -0000 1.20
--- HashUtility.h 1 Jan 2004 16:13:09 -0000 1.21
***************
*** 200,207 ****
struct eqstr: public HASH<char const*>
{
! size_t operator()(char const* s) const {
return static_cast<size_t>(newhash4_cstring(s));
}
! bool operator()(char const* s1, char const* s2) const {
return (strcmp(s1, s2) < 0);
}
--- 200,207 ----
struct eqstr: public HASH<char const*>
{
! size_t operator()(char const* const &s) const {
return static_cast<size_t>(newhash4_cstring(s));
}
! bool operator()(char const* const &s1, char const* const &s2) const {
return (strcmp(s1, s2) < 0);
}
|