File: dynexcspec.patch

package info (click to toggle)
mysql-connector-c%2B%2B 1.1.9-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,656 kB
  • sloc: cpp: 44,632; ansic: 2,114; php: 528; sql: 402; xml: 109; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/cppconn/exception.h
+++ b/cppconn/exception.h
@@ -36,10 +36,10 @@
 {
 
 #define MEMORY_ALLOC_OPERATORS(Class) \
-	void* operator new(size_t size) throw (std::bad_alloc) { return ::operator new(size); }  \
+	void* operator new(size_t size) { return ::operator new(size); }  \
 	void* operator new(size_t, void*) throw(); \
 	void* operator new(size_t, const std::nothrow_t&) throw(); \
-	void* operator new[](size_t) throw (std::bad_alloc); \
+	void* operator new[](size_t); \
 	void* operator new[](size_t, void*) throw(); \
 	void* operator new[](size_t, const std::nothrow_t&) throw(); \
 	void* operator new(size_t N, std::allocator<Class>&);