From: Luca Heltai Date: Tue, 20 Nov 2018 15:41:32 +0000 (+0100) Subject: Removed use of clone(). X-Git-Tag: v9.1.0-rc1~546^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59a35b75e10f1de98baa18be2108b35049075ab3;p=dealii.git Removed use of clone(). --- diff --git a/source/base/function_parser.cc b/source/base/function_parser.cc index f1c30add30..a4446325bf 100644 --- a/source/base/function_parser.cc +++ b/source/base/function_parser.cc @@ -74,13 +74,12 @@ FunctionParser::FunctionParser(const std::string &expression, { auto constants_map = Patterns::Tools::Convert::to_value( constants, - Patterns::Map(Patterns::Anything(), - Patterns::Double(), - 0, - Patterns::Map::max_int_value, - ",", - "=") - .clone()); + std_cxx14::make_unique(Patterns::Anything(), + Patterns::Double(), + 0, + Patterns::Map::max_int_value, + ",", + "=")); initialize(variable_names, expression, constants_map,