File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1997, 2020 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1997, 2021 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -89,12 +89,6 @@ void operator delete [](void* p) throw() {
89
89
fatal (" Should not call global delete []" );
90
90
}
91
91
92
- #ifdef __GNUG__
93
- // Warning disabled for gcc 5.4
94
- PRAGMA_DIAG_PUSH
95
- PRAGMA_DISABLE_GCC_WARNING (" -Wc++14-compat" )
96
- #endif // __GNUG__
97
-
98
92
void operator delete (void * p, size_t size) throw () {
99
93
fatal (" Should not call global sized delete" );
100
94
}
@@ -103,8 +97,4 @@ void operator delete [](void* p, size_t size) throw() {
103
97
fatal (" Should not call global sized delete []" );
104
98
}
105
99
106
- #ifdef __GNUG__
107
- PRAGMA_DIAG_POP
108
- #endif // __GNUG__
109
-
110
100
#endif // Non-product
You can’t perform that action at this time.
0 commit comments