Skip to content

Commit d62730a

Browse files
author
Matthew Gretton-Dann
committed
C++: Update synthetic_destructor_call keysets.
Reorder the [ destructor_call, expr ] tuple. Add a [ expr, i ] tuple.
1 parent 06d1d6e commit d62730a

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,7 +1061,8 @@ 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]
1064+
#keyset[element, destructor_call]
1065+
#keyset[element, i]
10651066
synthetic_destructor_call(
10661067
int element: @element ref,
10671068
int i: int ref,

0 commit comments

Comments
 (0)