equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
87 |
87 |
88 void operator delete [](void* p) throw() { |
88 void operator delete [](void* p) throw() { |
89 fatal("Should not call global delete []"); |
89 fatal("Should not call global delete []"); |
90 } |
90 } |
91 |
91 |
|
92 void operator delete(void* p, size_t size) throw() { |
|
93 fatal("Should not call global sized delete"); |
|
94 } |
|
95 |
|
96 void operator delete [](void* p, size_t size) throw() { |
|
97 fatal("Should not call global sized delete []"); |
|
98 } |
|
99 |
92 #endif // Non-product |
100 #endif // Non-product |