From 400acaae68c3317f94efc09c3aacc859afbb34f3 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Fri, 1 Dec 2023 01:26:51 -0500 Subject: [PATCH] adding underscore --- lectures/26_inheritance/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/26_inheritance/README.md b/lectures/26_inheritance/README.md index 1dfb3f3..bd83ec7 100644 --- a/lectures/26_inheritance/README.md +++ b/lectures/26_inheritance/README.md @@ -246,7 +246,7 @@ Triangle *t_ptr = new Triangle( .... ); polygons.push_back(t_ptr); ``` -Note: We’ve used the same pointer variable (p ptr) to point to objects of two different types +Note: We’ve used the same pointer variable (p_ptr) to point to objects of two different types. ## 26.13 Accessing Objects Through a Polymorphic List of Pointers