Skip to content

Commit 06d1d6e

Browse files
author
Matthew Gretton-Dann
committed
C++: Fix synthetic_destructor_call key uniqueness.
1 parent dca39f0 commit 06d1d6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/ql/src/semmlecode.cpp.dbscheme

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,10 +1061,11 @@ compgenerated(unique int id: @element ref);
10611061
* destructed in reverse construction order, so for a given `element`
10621062
* these should be called from highest to lowest `i`.
10631063
*/
1064+
#keyset[destructor_call, element]
10641065
synthetic_destructor_call(
10651066
int element: @element ref,
10661067
int i: int ref,
1067-
unique int destructor_call: @routineexpr ref
1068+
int destructor_call: @routineexpr ref
10681069
);
10691070

10701071
namespaces(

0 commit comments

Comments
 (0)