Skip to content

Commit bf68016

Browse files
committed
CPP: Optimize.
1 parent 6a95ca9 commit bf68016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/Field.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Field extends MemberVariable {
5454
* which the field will be initialized, whether by an initializer list or in a
5555
* constructor.
5656
*/
57-
final int getInitializationOrder() {
57+
final pragma[nomagic] int getInitializationOrder() {
5858
exists(Class cls, int memberIndex |
5959
this = cls.getCanonicalMember(memberIndex) and
6060
memberIndex = rank[result + 1](int index |

0 commit comments

Comments
 (0)