Skip to content

Commit 69aa4f0

Browse files
authored
book: typo fix (#190)
1 parent 711694e commit 69aa4f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/zh-cn/05-pointers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ order: 5
2727
2828
## 5.2 `std::shared_ptr`
2929

30-
`std::shared_ptr` 是一种智能指针,它能够记录多少个 `shared_ptr` 共同指向一个对象,从而消除显示的调用
30+
`std::shared_ptr` 是一种智能指针,它能够记录多少个 `shared_ptr` 共同指向一个对象,从而消除显式的调用
3131
`delete`,当引用计数变为零的时候就会将对象自动删除。
3232

3333
但还不够,因为使用 `std::shared_ptr` 仍然需要使用 `new` 来调用,这使得代码出现了某种程度上的不对称。

0 commit comments

Comments
 (0)