File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ class SizelessAllocationFunction extends AllocationFunction {
223
223
class OperatorNewAllocationFunction extends AllocationFunction {
224
224
OperatorNewAllocationFunction ( ) {
225
225
exists ( string name |
226
- hasGlobalOrStdName ( name ) and
226
+ hasGlobalName ( name ) and
227
227
(
228
228
// operator new(bytes, ...)
229
229
name = "operator new" or
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class StandardDeallocationFunction extends DeallocationFunction {
87
87
class OperatorDeleteDeallocationFunction extends DeallocationFunction {
88
88
OperatorDeleteDeallocationFunction ( ) {
89
89
exists ( string name |
90
- hasGlobalOrStdName ( name ) and
90
+ hasGlobalName ( name ) and
91
91
(
92
92
// operator delete(pointer, ...)
93
93
name = "operator delete" or
You can’t perform that action at this time.
0 commit comments