From: Daniel Arndt Date: Tue, 13 Jun 2017 15:05:57 +0000 (+0200) Subject: Fix parameter_handler_double_02 X-Git-Tag: v9.0.0-rc1~1505^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a25cb4e5201a7c0f97d22549c6762991a054fe7;p=dealii.git Fix parameter_handler_double_02 --- diff --git a/tests/parameter_handler/parameter_handler_double_02.cc b/tests/parameter_handler/parameter_handler_double_02.cc index 1b60e2b141..7d105a005c 100644 --- a/tests/parameter_handler/parameter_handler_double_02.cc +++ b/tests/parameter_handler/parameter_handler_double_02.cc @@ -26,14 +26,13 @@ void test(const std::string &desc) { deallog << desc << " -> "; - Patterns::Double *c = Patterns::Double::create(desc); + std::unique_ptr c = Patterns::Double::create(desc); if (!c) { deallog << "NULL" << std::endl; return; } deallog << c->description() << std::endl; - delete c; }