[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Plan Plan.cpp, 1.9, 1.10 Plan.h, 1.6, 1.7
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-05-23 15:29:49
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24288 Modified Files: Plan.cpp Plan.h Log Message: addBatch(...) interface modified. Index: Plan.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan/Plan.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Plan.h 17 May 2007 14:33:04 -0000 1.6 --- Plan.h 23 May 2007 15:29:46 -0000 1.7 *************** *** 53,57 **** Plan(); ! virtual CBM_PB *addBatch(std::string _id); virtual void removeBatch(CBM_PB *_ps); virtual void removeBatch(std::string _id); --- 53,57 ---- Plan(); ! virtual CBM_PB *addBatch(CBM_PB *_ps); virtual void removeBatch(CBM_PB *_ps); virtual void removeBatch(std::string _id); Index: Plan.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan/Plan.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Plan.cpp 17 May 2007 14:33:04 -0000 1.9 --- Plan.cpp 23 May 2007 15:29:46 -0000 1.10 *************** *** 68,78 **** } ! CBM::PlanBatch *Plan::addBatch(std::string _id) { ! PlanBatch *result = new PlanBatch(_id); ! ! planBatch.push_back(result); stop(); ! return(result); } --- 68,76 ---- } ! CBM::PlanBatch *Plan::addBatch(CBM::PlanBatch *_batch) { ! planBatch.push_back(_batch); stop(); ! return(_batch); } |