[prev in list] [next in list] [prev in thread] [next in thread]
List: oprofile-commits
Subject: [oprof-cvs] CVS: oprofile/libutil++/tests utility_tests.cpp,1.2,1.3
From: John Levon <movement () users ! sourceforge ! net>
Date: 2004-07-06 21:32:29
Message-ID: E1BhxYD-0001XN-3O () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
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);
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic