This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[libstdc++] remove unused names from placement delete signatures

These names are not uglified, and in fact cause problems like

Might as well just leave them unnamed.

Tested on i686-pc-linux-gnu, applied to mainline, queued for 3.2.1.

2002-07-26  Phil Edwards  <>

	* libsupc++/new (placement delete):  Remove unused paramater names.

Index: libsupc++/new
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/new,v
retrieving revision 1.13
diff -u -3 -p -r1.13 new
--- libsupc++/new	24 Jul 2002 19:49:21 -0000	1.13
+++ libsupc++/new	26 Jul 2002 20:11:00 -0000
@@ -93,8 +93,8 @@ inline void* operator new(std::size_t, v
 inline void* operator new[](std::size_t, void* __p) throw() { return __p; }
 // Default placement versions of operator delete.
-inline void  operator delete  (void* ptr, void*) throw() { };
-inline void  operator delete[](void* ptr, void*) throw() { };
+inline void  operator delete  (void*, void*) throw() { };
+inline void  operator delete[](void*, void*) throw() { };
 } // extern "C++"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]