mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
These were due to several functions occurring that would have the same TRAP key. By making the functions static the TRAP keys will differ from each other.
10 lines
101 B
C++
10 lines
101 B
C++
class C {
|
|
public:
|
|
C(int i, int j);
|
|
};
|
|
|
|
static void f() {
|
|
int a, b, c, d;
|
|
new C(a + b, c - d);
|
|
}
|