From: John L. <mov...@us...> - 2004-07-06 21:32:35
|
Update of /cvsroot/oprofile/oprofile/libutil++/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5519/libutil++/tests Modified Files: utility_tests.cpp Log Message: remove sample-file:/binary: (praise the Lord). Allow either "lib" or "library" for separate/merge options. Index: utility_tests.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/tests/utility_tests.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -d -r1.2 -r1.3 --- utility_tests.cpp 28 Jan 2004 05:37:12 -0000 1.2 +++ utility_tests.cpp 6 Jul 2004 21:32:26 -0000 1.3 @@ -21,13 +21,13 @@ using namespace std; static int nb_new; static int nb_new_array; -void* operator new(std::size_t size) throw(std::bad_alloc) +void* operator new(size_t size) throw(bad_alloc) { nb_new++; return malloc(size); } -void* operator new[](std::size_t size) throw(std::bad_alloc) +void* operator new[](size_t size) throw(bad_alloc) { nb_new_array++; return malloc(size); |