Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c09032

Browse files
Correct access specifier
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 932ee96 commit 8c09032

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ class FunctionPointerIshType extends DerivedType {
15441544
/**
15451545
* A C++ pointer to data member. See 15.5.
15461546
* ```
1547-
* class C { int m; };
1547+
* class C { public: int m; };
15481548
* int C::* p = &C::m; // pointer to data member m of class C
15491549
* class C c;
15501550
* int val = c.*p; // access data member

0 commit comments

Comments
 (0)