Merge branch 'unsafe-use-of-this-query' of github.com:MathiasVP/ql into unsafe-use-of-this-query

This commit is contained in:
Mathias Vorreiter Pedersen
2020-11-11 18:30:20 +01:00

View File

@@ -5,7 +5,7 @@ private:
public:
Base() {
// wrong: the virtual table of `Derived` has not been initialized yet. So this
// call will resolve to `B::construct`, which cannot be called as it is a pure
// call will resolve to `Base::construct`, which cannot be called as it is a pure
// virtual function.
construct();
}