]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also delete move constructors/operators. 8952/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 16:32:09 +0000 (10:32 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 16:32:09 +0000 (10:32 -0600)
include/deal.II/base/function_parser.h

index 739f8b22bb0e7b8af8a949279d2ebc4b8b6effbb..34529dae0d46ba55fbebf11d84f6667fa0b0259c 100644 (file)
@@ -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.
    */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.