From: stephan b. <sg...@us...> - 2004-12-25 20:48:21
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/System In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1174/include/pclasses/System Modified Files: PathFinder.h Log Message: Moved joinList() out of the class interface, into an internal helper func. Index: PathFinder.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/System/PathFinder.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- PathFinder.h 24 Dec 2004 04:30:12 -0000 1.4 +++ PathFinder.h 25 Dec 2004 20:48:13 -0000 1.5 @@ -154,6 +154,10 @@ /** Empties the hit-cache used by find(). + + Design note: because the cache is mutable data, we + *could* legally make this function const. Something + to consider. */ void clearCache(); @@ -164,10 +168,6 @@ private: - /** - Helper function to collapse a list into a string. - */ - std::string joinList( const string_list & list, const std::string & separator ) const; string_list paths; string_list exts; std::string pathseparator; |