From 2f9a865d3c4fac2bcf183e69ecc5a22ef82a2234 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 23 Oct 2019 21:20:34 -0600 Subject: [PATCH] Delete FunctionParse copy constructor. --- include/deal.II/base/function_parser.h | 6 ++++++ 1 file changed, 6 insertions(+) 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). -- 2.39.5