From: <sp...@us...> - 2004-02-23 18:23:44
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10501/rtk Modified Files: Array.h Log Message: t didn't compiled for me the old way, I removed the ## in the macro, not is works Index: Array.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/Array.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Array.h 22 Feb 2004 11:50:15 -0000 1.4 --- Array.h 23 Feb 2004 18:10:07 -0000 1.5 *************** *** 185,189 **** { \ public: \ ! class_name() : Array(sizeof(##type)) { } \ const type *bsearch(const type *key, CmpFunction cmpfunc) { Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ const type *lfind(const type *key, CmpFunction cmpfunc) { Array::lfind(ARRAY_DATA(key), cmpfunc); } \ --- 185,189 ---- { \ public: \ ! class_name() : Array(sizeof(type)) { } \ const type *bsearch(const type *key, CmpFunction cmpfunc) { Array::bsearch(ARRAY_DATA(key), cmpfunc); } \ const type *lfind(const type *key, CmpFunction cmpfunc) { Array::lfind(ARRAY_DATA(key), cmpfunc); } \ |