Fix variable name in example (#2116)

pull/2117/head
Xavier1113 2 years ago committed by GitHub
parent efbc482f0d
commit f2485c56a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8207,8 +8207,8 @@ Consider:
cout << pb2->id(); // "D"
if (pb1->id() == "D") { // looks innocent
D* pd = static_cast<D*>(pb1);
if (pb2->id() == "D") { // looks innocent
D* pd = static_cast<D*>(pb2);
// ...
}
// ...

Loading…
Cancel
Save