From 1a6323bdbe20bdb7b1c907d8fa0333ffa88b21ff Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 10 Mar 2021 17:29:08 +0800 Subject: [PATCH] doc: update developer notes for removal of MakeUnique --- doc/developer-notes.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 8f2d7af089..0a78cdff20 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -595,11 +595,6 @@ Common misconceptions are clarified in those sections: - *Rationale*: This avoids memory and resource leaks, and ensures exception safety. -- Use `MakeUnique()` to construct objects owned by `unique_ptr`s. - - - *Rationale*: `MakeUnique` is concise and ensures exception safety in complex expressions. - `MakeUnique` is a temporary project local implementation of `std::make_unique` (C++14). - C++ data structures --------------------