From: Wolfgang Bangerth Date: Thu, 24 Oct 2019 03:20:34 +0000 (-0600) Subject: Delete FunctionParse copy constructor. X-Git-Tag: v9.2.0-rc1~946^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9a865d3c4fac2bcf183e69ecc5a22ef82a2234;p=dealii.git Delete FunctionParse copy constructor. --- diff --git a/include/deal.II/base/function_parser.h b/include/deal.II/base/function_parser.h index b19e290831..4aa601daf3 100644 --- a/include/deal.II/base/function_parser.h +++ b/include/deal.II/base/function_parser.h @@ -246,6 +246,12 @@ public: ",t", const double h = 1e-8); + /** + * Copy constructor. Objects of this type can not be copied, and + * consequently this constructor is deleted. + */ + FunctionParser(const FunctionParser &) = delete; + /** * Destructor. Explicitly delete the FunctionParser objects (there is one * for each component of the function).