From: stephan b. <sg...@us...> - 2004-12-24 04:06:44
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29164/include/pclasses/System Modified Files: Mime.h Log Message: corrected fileext prob: was a broken op< in MimeType. Index: Mime.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/Mime.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Mime.h 24 Dec 2004 03:24:54 -0000 1.3 +++ Mime.h 24 Dec 2004 04:06:27 -0000 1.4 @@ -54,11 +54,10 @@ /** For compatibility with containers. - Returns false if rhs is this object - or if this object's media- and sub-types - both compare less than those of rhs. + Returns the equivalent of mimeType()<rhs.mimeType(). */ bool operator<( const MimeType & rhs ) const; + /** For compatibility with containers. Returns true if this object's media- and sub-types are the @@ -97,7 +96,7 @@ typedef std::multimap< std::string, MimeType > MimeTypeMap; typedef MimeTypeMap::const_iterator const_iterator; - typedef std::multimap<MimeType,std::string> FileExtensionsMap; + typedef std::multimap< MimeType, std::string > FileExtensionsMap; /** Add MIME type to database. Does not re-insert if type is |