From 5dad8c1a3230167f1875763bde646073c13c58ef Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 5 Jan 2021 14:19:50 -0700 Subject: [PATCH] Avoid using bare 'new'. --- source/grid/tria.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/grid/tria.cc b/source/grid/tria.cc index a5b33c7f9c..ee6b142ea1 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -1742,11 +1742,12 @@ namespace internal std::unique_ptr> clone() override { - return std::unique_ptr>( - new PolicyWrapper()); + return std::make_unique>(); } }; + + /** * A class into which we put many of the functions that implement * functionality of the Triangulation class. The main reason for this -- 2.39.5