From 4aef9902c57a6ce745da00b65b6fc6e281492ed0 Mon Sep 17 00:00:00 2001 From: Hao Cheng Date: Sat, 13 Jun 2020 01:03:12 +0800 Subject: [PATCH] Fix the solution to Exercise 15.14 --- ch15/15.14.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch15/15.14.cpp b/ch15/15.14.cpp index 388b4ab..a2eaa4d 100644 --- a/ch15/15.14.cpp +++ b/ch15/15.14.cpp @@ -27,7 +27,7 @@ int main() { dobj.print(std::cout); // (c) base::name(); bp1->name(); - // (d) base::name(); + // (d) derived::name(); bp2->name(); // (e) base::print(); br1.print(std::cout);