diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 5ebd539..ac46039 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9494,8 +9494,8 @@ Consider: { X x; X* p1 { new X }; // see also ??? - unique_ptr p2 { new X }; // unique ownership; see also ??? - shared_ptr p3 { new X }; // shared ownership; see also ??? + unique_ptr p2 { new X }; // unique ownership; see also ??? + shared_ptr p3 { new X }; // shared ownership; see also ??? auto p4 = make_unique(); // unique_ownership, preferable to the explicit use "new" auto p5 = make_shared(); // shared ownership, preferable to the explicit use "new" }