From: Wolfgang Bangerth Date: Tue, 5 Jan 2021 21:19:50 +0000 (-0700) Subject: Avoid using bare 'new'. X-Git-Tag: v9.3.0-rc1~678^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11476%2Fhead;p=dealii.git Avoid using bare 'new'. --- 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