]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Defaulted copy constructor for Function 9054/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 18 Nov 2019 13:56:01 +0000 (08:56 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Mon, 18 Nov 2019 13:57:12 +0000 (08:57 -0500)
include/deal.II/base/function.h

index 205f1bcf0d50b98e1f06dd3fbc4bf3c688e3766b..dce4b2076bb01cc08f6f01c5c3824dc0ab49eddd 100644 (file)
@@ -177,6 +177,11 @@ public:
   Function(const unsigned int n_components = 1,
            const time_type    initial_time = 0.0);
 
+  /**
+   * Copy constructor.
+   */
+  Function(const Function &f) = default;
+
   /**
    * Virtual destructor; absolutely necessary in this case.
    *

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.