]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also delete the FunctionParser operator=.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 16:21:30 +0000 (10:21 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 16:21:30 +0000 (10:21 -0600)
include/deal.II/base/function_parser.h

index 4aa601daf3a0c8edc6b41c32f77b5e523ccd8900..739f8b22bb0e7b8af8a949279d2ebc4b8b6effbb 100644 (file)
@@ -258,6 +258,13 @@ public:
    */
   ~FunctionParser() override;
 
+  /**
+   * Copy operator. Objects of this type can not be copied, and
+   * consequently this operator is deleted.
+   */
+  FunctionParser &
+  operator=(const 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.