Skip to content

Commit 6bfdbef

Browse files
committed
C++: Fix implicit 'this'.
1 parent b18e096 commit 6bfdbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedInitialization.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ class TranslatedConstructorBareInit extends TranslatedElement, TTranslatedConstr
993993

994994
override TranslatedElement getChild(int id) { none() }
995995

996-
override Declaration getFunction() { result = getParent().getFunction() }
996+
override Declaration getFunction() { result = this.getParent().getFunction() }
997997

998998
override Instruction getInstructionSuccessor(InstructionTag tag, EdgeKind kind) { none() }
999999

0 commit comments

Comments
 (0)