From f6994de797f3f27f881945eedc00f5614a27bf3e Mon Sep 17 00:00:00 2001 From: slk000 Date: Wed, 23 Nov 2022 18:03:52 +0800 Subject: [PATCH] doc is not consistent with code in vptr_vtable --- basic_content/vptr_vtable/README.md | 10 +++++----- basic_content/vptr_vtable/vptr1.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basic_content/vptr_vtable/README.md b/basic_content/vptr_vtable/README.md index 1b82cc6..eaadf24 100644 --- a/basic_content/vptr_vtable/README.md +++ b/basic_content/vptr_vtable/README.md @@ -114,11 +114,11 @@ int main(void) Base &p = d; // 基类引用指向派生类实例 cout<<"基类对象直接调用"<fun1(); - cout<<"基类引用指向基类实例并调用虚函数"<fun1(); - cout<<"基类引用指向基类实例并调用虚函数"<