From 29a17211fbd72b3c0625d82bd08990206fa88fd4 Mon Sep 17 00:00:00 2001 From: xris1658 <46947835+xris1658@users.noreply.github.com> Date: Mon, 8 Aug 2022 09:36:50 +0800 Subject: [PATCH] Update title of Item 21 --- src/4.SmartPointers/item21.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/4.SmartPointers/item21.md b/src/4.SmartPointers/item21.md index 96631ff..bbc6a97 100644 --- a/src/4.SmartPointers/item21.md +++ b/src/4.SmartPointers/item21.md @@ -1,4 +1,4 @@ -## 条款二十一:优先考虑使用`std::make_unique`和`std::make_shared`而非`new` +## 条款二十一:优先考虑使用`std::make_unique`和`std::make_shared`,而非直接使用`new` **Item 21: Prefer `std::make_unique` and `std::make_shared` to direct use of `new`**