From: Wolfgang Bangerth Date: Thu, 24 Oct 2019 16:32:09 +0000 (-0600) Subject: Also delete move constructors/operators. X-Git-Tag: v9.2.0-rc1~946^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d4310d85899d9cdd77c164fee5cbe3e61f7538c;p=dealii.git Also delete move constructors/operators. --- diff --git a/include/deal.II/base/function_parser.h b/include/deal.II/base/function_parser.h index 739f8b22bb..34529dae0d 100644 --- a/include/deal.II/base/function_parser.h +++ b/include/deal.II/base/function_parser.h @@ -252,6 +252,12 @@ public: */ FunctionParser(const FunctionParser &) = delete; + /** + * Move constructor. Objects of this type can not be moved, and + * consequently this constructor is deleted. + */ + FunctionParser(FunctionParser &&) = delete; + /** * Destructor. Explicitly delete the FunctionParser objects (there is one * for each component of the function). @@ -265,6 +271,13 @@ public: FunctionParser & operator=(const FunctionParser &) = delete; + /** + * Move operator. Objects of this type can not be moved, and + * consequently this operator is deleted. + */ + FunctionParser & + operator=(FunctionParser &&) = delete; + /** * Type for the constant map. Used by the initialize() method. */