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

Skip to content

Commit de0ca0a

Browse files
MathiasVPgeoffw0
andauthored
Update cpp/ql/src/Likely Bugs/OO/UnsafeUseOfThis.cpp
Co-authored-by: Geoffrey White <[email protected]>
1 parent a330cae commit de0ca0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/Likely Bugs/OO/UnsafeUseOfThis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Base {
55
public:
66
Base() {
77
// wrong: the virtual table of `Derived` has not been initialized yet. So this
8-
// call will resolve to `B::construct`, which cannot be called as it is a pure
8+
// call will resolve to `Base::construct`, which cannot be called as it is a pure
99
// virtual function.
1010
construct();
1111
}

0 commit comments

Comments
 (0)