Skip to content

Commit 5b45962

Browse files
committed
C++: Make implicit this receiver explicit
1 parent edeffd8 commit 5b45962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/upgrades/282c13bfdbcbd57a887972b47a471342a4ad5507/member_function_this_type.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ClassPointerType extends @derivedtype {
2424

2525
Class getBaseType() { derivedtypes(this, _, _, result) }
2626

27-
string toString() { result = getBaseType().toString() + "*" }
27+
string toString() { result = this.getBaseType().toString() + "*" }
2828
}
2929

3030
class DefinedMemberFunction extends @function {

0 commit comments

Comments
 (0)