C.146 Fix variable name in example
diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md
index ec3200ed6..94876f845 100644
--- a/CppCoreGuidelines.md
+++ b/CppCoreGuidelines.md
@@ -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);
             // ...
         }
         // ...
