From 1d4310d85899d9cdd77c164fee5cbe3e61f7538c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 24 Oct 2019 10:32:09 -0600 Subject: [PATCH] Also delete move constructors/operators. --- include/deal.II/base/function_parser.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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. */ -- 2.39.5