]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Delete FunctionParse copy constructor.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 03:20:34 +0000 (21:20 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 24 Oct 2019 14:48:02 +0000 (08:48 -0600)
include/deal.II/base/function_parser.h

index b19e290831bce4a3fe51715d0450e43d9aceb4ba..4aa601daf3a0c8edc6b41c32f77b5e523ccd8900 100644 (file)
@@ -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).

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.