From 1421f372e0814c25ca0ed48e13793bd8ba81c731 Mon Sep 17 00:00:00 2001 From: Changkun Ou Date: Sun, 26 Jul 2020 11:04:07 +0200 Subject: [PATCH] book: typo fixes fixes #104 --- book/zh-cn/05-pointers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/zh-cn/05-pointers.md b/book/zh-cn/05-pointers.md index 7b1cf75..99d76a4 100644 --- a/book/zh-cn/05-pointers.md +++ b/book/zh-cn/05-pointers.md @@ -148,13 +148,13 @@ struct B; struct A { std::shared_ptr pointer; ~A() { - std::cout << "A 被销毁" << std::end; + std::cout << "A 被销毁" << std::endl; } }; struct B { std::shared_ptr pointer; ~B() { - std::cout << "B 被销毁" << std::end; + std::cout << "B 被销毁" << std::endl; } }; int main() {