Skip to content

Commit 2940f47

Browse files
committed
C++: Fix isfromtemplateinstantiation test.
1 parent 0b381b9 commit 2940f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromtemplateinstantiation.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import cpp
22

33
class FunctionMonkeyPatch extends Function {
44
language[monotonicAggregates]
5-
override string toString() {
5+
override string getDescription() {
66
exists(string name, string templateArgs, string args |
77
result = name + templateArgs + args and
88
name = this.getQualifiedName() and
@@ -30,7 +30,7 @@ class FunctionMonkeyPatch extends Function {
3030
}
3131

3232
class ParameterMonkeyPatch extends Parameter {
33-
override string toString() { result = super.getType().getName() + " " + super.toString() }
33+
override string getDescription() { result = super.getType().getName() + " " + super.getDescription() }
3434
}
3535

3636
from Element e, Element ti

0 commit comments

Comments
 (0)