Skip to content

Commit 27490a3

Browse files
committed
C++: Fix error in QLDoc.
1 parent 33f4503 commit 27490a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Access.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ class PointerToFieldLiteral extends ImplicitThisFieldAccess {
338338
* int myFunctionTarget(int);
339339
*
340340
* void myFunction() {
341-
* int (*myFunctionPointer)(int) = &myTarget;
341+
* int (*myFunctionPointer)(int) = &myFunctionTarget;
342342
* }
343343
* ```
344344
*/

0 commit comments

Comments
 (0)